summaryrefslogtreecommitdiff
path: root/sw/source/core/text/pormulti.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-14 21:45:51 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-14 20:54:37 +0000
commitccc8a44a21fbfb4e2b4cb659f4c515aeac795006 (patch)
treed0c2fbbf40b0bd48b2f7786504a89e8ad8e9ee59 /sw/source/core/text/pormulti.cxx
parent01311421166abcc5bd95f700bbf9ef96ec9e3cce (diff)
coverity#705747: Resource leak
Change-Id: Ifc071261ce5697355b904fbd12272b27c04183e4 Reviewed-on: https://gerrit.libreoffice.org/2736 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'sw/source/core/text/pormulti.cxx')
-rw-r--r--sw/source/core/text/pormulti.cxx1
1 files changed, 1 insertions, 0 deletions
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;
}