You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by zh...@apache.org on 2012/09/04 07:19:56 UTC

svn commit: r1380452 - /incubator/ooo/trunk/main/sw/source/core/fields/docufld.cxx

Author: zhangjf
Date: Tue Sep  4 05:19:55 2012
New Revision: 1380452

URL: http://svn.apache.org/viewvc?rev=1380452&view=rev
Log:
#i120735#, the para object or editengine object attached to textfield object need free explicitly 

Found by: zhangjf 
Patch by: zhangjf

Modified:
    incubator/ooo/trunk/main/sw/source/core/fields/docufld.cxx

Modified: incubator/ooo/trunk/main/sw/source/core/fields/docufld.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/core/fields/docufld.cxx?rev=1380452&r1=1380451&r2=1380452&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/core/fields/docufld.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/core/fields/docufld.cxx Tue Sep  4 05:19:55 2012
@@ -1793,6 +1793,8 @@ SwPostItField::~SwPostItField()
 		m_pTextObject->DisposeEditSource();
 		m_pTextObject->release();
 	}
+
+	delete mpText;
 }
 
 /* ---------------------------------------------------------------------------