summaryrefslogtreecommitdiff
path: root/sw/UIConfig_swriter.mk
diff options
context:
space:
mode:
authorDennis Francis <dennisfrancis.in@gmail.com>2015-12-11 09:19:22 +0530
committerCaolán McNamara <caolanm@redhat.com>2016-01-21 11:57:25 +0000
commitb88646fc68cfc1c3840024fe3a59727c9eb9f95d (patch)
treebf340b204b465fbecf243e54cf1bee3e98593467 /sw/UIConfig_swriter.mk
parent7b422cce4ebc291d5eff723dc0fd4497ab412ed5 (diff)
Fix memleak of strings allocated in VclGtkClipboard::makeGtkTargetEntry
This leak is produced when copy and paste of text/numbers is done in Calc/Writer. Following is the trace produced by valgrind (trimmed) malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) g_malloc (in /usr/lib64/libglib-2.0.so.0.4600.2) g_strdup (in /usr/lib64/libglib-2.0.so.0.4600.2) VclGtkClipboard::makeGtkTargetEntry(...) (gtk3gtkinst.cxx:467) VclGtkClipboard::setContents(...) (gtk3gtkinst.cxx:557) TransferableHelper::CopyToSelection(vcl::Window*) const (transfer.cxx:1019) ScTabView::CheckSelectionTransfer() (tabview3.cxx:319) ScTabView::UpdateAutoFillMark() (tabview3.cxx:144) ScTabView::SelectionChanged() (tabview3.cxx:365) ScViewFunc::PostPasteFromClip(ScRangeList const&, ScMarkData const&) (viewfun3.cxx:1753) ScViewFunc::PasteFromClip(...) (viewfun3.cxx:1415) ScClipUtil::PasteFromClipboard(ScViewData*, ScTabViewShell*, bool) (cliputil.cxx:69) ScCellShell::ExecuteEdit(SfxRequest&) (cellsh1.cxx:1285) SfxStubScCellShellExecuteEdit(SfxShell*, SfxRequest&) (scslots.hxx:7135) SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) (shell.hxx:206) SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) (dispatch.cxx:258)... ... Change-Id: I12468e746f33a64e2b5f05e9ac1c6814c702ffd7 Reviewed-on: https://gerrit.libreoffice.org/20646 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org> (cherry picked from commit 97df0e601a0d76664b4207d075fa6e2a5a51625c)
Diffstat (limited to 'sw/UIConfig_swriter.mk')
0 files changed, 0 insertions, 0 deletions