incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1350309 - /incubator/ooo/trunk/main/sfx2/source/view/orgmgr.cxx
Date Thu, 14 Jun 2012 16:06:13 GMT
Author: hdu
Date: Thu Jun 14 16:06:13 2012
New Revision: 1350309

URL: http://svn.apache.org/viewvc?rev=1350309&view=rev
Log:
#c705715# fix a resource leak in SfxOrganizeMgr::Delete

Modified:
    incubator/ooo/trunk/main/sfx2/source/view/orgmgr.cxx

Modified: incubator/ooo/trunk/main/sfx2/source/view/orgmgr.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sfx2/source/view/orgmgr.cxx?rev=1350309&r1=1350308&r2=1350309&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sfx2/source/view/orgmgr.cxx (original)
+++ incubator/ooo/trunk/main/sfx2/source/view/orgmgr.cxx Thu Jun 14 16:06:13 2012
@@ -531,6 +531,7 @@ sal_Bool	SfxOrganizeMgr::Delete(SfxOrgan
 			for ( nInd = 0; nInd < nToDeleteNum; nInd++ )
 				if ( pEntriesToDelete[nInd] )
 					pCaller->GetModel()->Remove( pEntriesToDelete[nInd] );
+			delete[] pEntriesToDelete;
 
 			if ( !pCaller->GetModel()->GetChildCount( pGroupToDelete ) )
             {



Mime
View raw message