basctl/source/basicide/baside3.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 96004917df7f93203c04ad879702c3fe03161c16 Author: Armin Le Grand <[email protected]> Date: Thu Aug 16 08:59:54 2012 +0000 Related: #i120515# fixed memory leak (cherry picked from commit b24737fc55e797d03002d44a1fa325a101617c55) Change-Id: Ib59957fb2c9e198012898293aaa2e5afbe561ef4 diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx index debf652..2643400 100644 --- a/basctl/source/basicide/baside3.cxx +++ b/basctl/source/basicide/baside3.cxx @@ -225,7 +225,10 @@ void DialogWindow::Command( const CommandEvent& rCEvt ) IMPL_LINK( DialogWindow, NotifyUndoActionHdl, SfxUndoAction *, pUndoAction ) { - (void)pUndoAction; + // #i120515# pUndoAction needs to be deleted, this hand over is an ownership + // change. As long as it does not get added to the undo manager, it needs at + // least to be deleted. + delete pUndoAction; return 0; } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
