You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2015/11/24 16:28:29 UTC

svn commit: r1716170 - /openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx

Author: pfg
Date: Tue Nov 24 15:28:29 2015
New Revision: 1716170

URL: http://svn.apache.org/viewvc?rev=1716170&view=rev
Log:
Resource leak

CID:	1028073

Modified:
    openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx

Modified: openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx?rev=1716170&r1=1716169&r2=1716170&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx (original)
+++ openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx Tue Nov 24 15:28:29 2015
@@ -628,6 +628,8 @@ GraphyicBulletsTypeMgr::GraphyicBulletsT
 			pEntry->sDescription = pSrcEntry->sDescription;
 			aGrfDataLst.Insert( pEntry, LIST_APPEND );
 		}
+		else
+			delete pEntry;
 	}
 }
 void GraphyicBulletsTypeMgr::Init()