[Libreoffice-commits] core.git: sw/source

Jian Fang Zhang zhangjf at apache.org
Thu May 16 08:25:20 PDT 2013


 sw/source/core/fields/docufld.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 31d898853e6898227c3416db0107285e2590d297
Author: Jian Fang Zhang <zhangjf at apache.org>
Date:   Tue Sep 4 04:19:55 2012 +0000

    Resolves: #i120735# free the para object or editengine object...
    
    attached to textfield object explicitly
    
    Found by: zhangjf
    Patch by: zhangjf
    (cherry picked from commit e2005137e019864578196d06be8ef63aa32a4e96)
    
    Change-Id: I5b7f240d0131017dc9fc35e6e1d14c553de8eacf

diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx
index 521cdcec..a7aa86a 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -1751,6 +1751,8 @@ SwPostItField::~SwPostItField()
         m_pTextObject->DisposeEditSource();
         m_pTextObject->release();
     }
+
+    delete mpText;
 }
 
 const SwFmtFld* SwPostItField::GetByName(SwDoc* pDoc, const OUString& rName)


More information about the Libreoffice-commits mailing list