summaryrefslogtreecommitdiff
path: root/sw/source/core/fields
diff options
context:
space:
mode:
authorJian Fang Zhang <zhangjf@apache.org>2012-09-04 04:19:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-16 16:23:50 +0100
commit31d898853e6898227c3416db0107285e2590d297 (patch)
tree6f9fb14a2eb431ad5c8b0c288f13be07ce023066 /sw/source/core/fields
parent60169637833bf39f646162ef156347eec4b5da39 (diff)
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
Diffstat (limited to 'sw/source/core/fields')
-rw-r--r--sw/source/core/fields/docufld.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx
index 521cdcecefcb..a7aa86a8e100 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)