From 8c70fd938a001e30ea5e5562e9c49897df4ca026 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 3 Oct 2013 11:35:53 +0100 Subject: CID#705749 mem leak Change-Id: I8626e60d802b1c966667867d8c59ececff0a4255 (cherry picked from commit e17c91d1ff5c39b9b541b4d1bfb291c419fc76b5) Reviewed-on: https://gerrit.libreoffice.org/6118 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- sw/source/core/unocore/unotext.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw') 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 -- cgit