From ccc8a44a21fbfb4e2b4cb659f4c515aeac795006 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Thu, 14 Mar 2013 21:45:51 +0100 Subject: coverity#705747: Resource leak Change-Id: Ifc071261ce5697355b904fbd12272b27c04183e4 Reviewed-on: https://gerrit.libreoffice.org/2736 Reviewed-by: Fridrich Strba Tested-by: Fridrich Strba --- sw/source/core/text/pormulti.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw') diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx index 20a07b79a6f7..12cd6e760ebb 100644 --- a/sw/source/core/text/pormulti.cxx +++ b/sw/source/core/text/pormulti.cxx @@ -2328,6 +2328,7 @@ SwLinePortion* SwTxtFormatter::MakeRestPortion( const SwLineLayout* pLine, } return pTmp; } + delete (pCreate); return pRest; } -- cgit