diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-03 11:35:53 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-04 12:33:44 +0000 |
commit | 8c70fd938a001e30ea5e5562e9c49897df4ca026 (patch) | |
tree | c2a34bd95a7cc6993d2cac3a87018ad680ca8fd7 /sw | |
parent | c7ca663e1a839781589dfd6a49d8540dde2b12cc (diff) |
CID#705749 mem leak
Change-Id: I8626e60d802b1c966667867d8c59ececff0a4255
(cherry picked from commit e17c91d1ff5c39b9b541b4d1bfb291c419fc76b5)
Reviewed-on: https://gerrit.libreoffice.org/6118
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 28178421a87e..b5ed1fef6071 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -1886,6 +1886,8 @@ void SwXText::Impl::ConvertCell( SwPaM aNewEndPaM(pCorrectedRange->aEnd, nEndLen); aEndCellPam = aNewEndPaM; + + delete pCorrectedRange; } /** check the nodes between start and end |