cui/source/customize/macropg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e221c954ea0b7c3846bd6971a06b6a28672a28c7 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Mon Jul 28 18:27:15 2014 +0900 fix a memory leak Change-Id: I105f0ac40251122348ed86eaab5d99a023f5c09b Reviewed-on: https://gerrit.libreoffice.org/10588 Reviewed-by: David Tardon <dtar...@redhat.com> Tested-by: David Tardon <dtar...@redhat.com> diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx index bd89250..8ab8d2b 100644 --- a/cui/source/customize/macropg.cxx +++ b/cui/source/customize/macropg.cxx @@ -658,7 +658,7 @@ long _SvxMacroTabPage::GenericHandler_Impl( _SvxMacroTabPage* pThis, PushButton* else if( bAssEnabled ) { // assign pressed - SvxScriptSelectorDialog* pDlg = new SvxScriptSelectorDialog( pThis, false, pThis->GetFrame() ); + boost::scoped_ptr<SvxScriptSelectorDialog> pDlg(new SvxScriptSelectorDialog( pThis, false, pThis->GetFrame() )); if( pDlg ) { short ret = pDlg->Execute(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits