Kaydet (Commit) e221c954 authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) David Tardon

fix a memory leak

Change-Id: I105f0ac40251122348ed86eaab5d99a023f5c09b
Reviewed-on: https://gerrit.libreoffice.org/10588Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst 42977e3c
...@@ -658,7 +658,7 @@ long _SvxMacroTabPage::GenericHandler_Impl( _SvxMacroTabPage* pThis, PushButton* ...@@ -658,7 +658,7 @@ long _SvxMacroTabPage::GenericHandler_Impl( _SvxMacroTabPage* pThis, PushButton*
else if( bAssEnabled ) else if( bAssEnabled )
{ {
// assign pressed // assign pressed
SvxScriptSelectorDialog* pDlg = new SvxScriptSelectorDialog( pThis, false, pThis->GetFrame() ); boost::scoped_ptr<SvxScriptSelectorDialog> pDlg(new SvxScriptSelectorDialog( pThis, false, pThis->GetFrame() ));
if( pDlg ) if( pDlg )
{ {
short ret = pDlg->Execute(); short ret = pDlg->Execute();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment