You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2012/06/14 08:36:24 UTC
svn commit: r1350101 -
/incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par.cxx
Author: hdu
Date: Thu Jun 14 06:36:24 2012
New Revision: 1350101
URL: http://svn.apache.org/viewvc?rev=1350101&view=rev
Log:
#c708928# avoid double free error
Modified:
incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par.cxx
Modified: incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par.cxx?rev=1350101&r1=1350100&r2=1350101&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par.cxx Thu Jun 14 06:36:24 2012
@@ -679,6 +679,8 @@ SdrObject* SwMSDffManager::ProcessObj(Sv
if (SeekToContent(DFF_Prop_pWrapPolygonVertices, rSt))
{
delete pImpRec->pWrapPolygon;
+ pImpRec->pWrapPolygon = NULL;
+
sal_uInt16 nNumElemVert, nNumElemMemVert, nElemSizeVert;
rSt >> nNumElemVert >> nNumElemMemVert >> nElemSizeVert;
if (nNumElemVert && ((nElemSizeVert == 8) || (nElemSizeVert == 4)))