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:33:04 UTC
svn commit: r1716174 - /openoffice/trunk/main/sot/source/sdstor/stgdir.cxx
Author: pfg
Date: Tue Nov 24 15:33:04 2015
New Revision: 1716174
URL: http://svn.apache.org/viewvc?rev=1716174&view=rev
Log:
Resource leak
CID: 1229496
Modified:
openoffice/trunk/main/sot/source/sdstor/stgdir.cxx
Modified: openoffice/trunk/main/sot/source/sdstor/stgdir.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sot/source/sdstor/stgdir.cxx?rev=1716174&r1=1716173&r2=1716174&view=diff
==============================================================================
--- openoffice/trunk/main/sot/source/sdstor/stgdir.cxx (original)
+++ openoffice/trunk/main/sot/source/sdstor/stgdir.cxx Tue Nov 24 15:33:04 2015
@@ -911,6 +911,8 @@ void StgDirStrm::SetupEntry (
SetupEntry( nRight, pUpper, nEntryCount, nDepth+1);
SetupEntry( nLeaf, pCur, nEntryCount, nDepth+1);
}
+ else
+ delete pCur;
}
}