incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1350101 - /incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par.cxx
Date Thu, 14 Jun 2012 06:36:24 GMT
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)))



Mime
View raw message