summaryrefslogtreecommitdiff
path: root/sw/source/core/text/pormulti.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-14 21:13:49 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-14 20:40:59 +0000
commit01311421166abcc5bd95f700bbf9ef96ec9e3cce (patch)
treed7ce8fba1d0a511e95ae2c3798df3e74194422e8 /sw/source/core/text/pormulti.cxx
parent990d3c7ecab5c394abebf914dd7f148d6323780a (diff)
coverity#705748: Resource leak
Change-Id: I3178b1301db389b76f514b5a2bf2d18dae78ae01 Reviewed-on: https://gerrit.libreoffice.org/2734 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> 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 c392c780b874..20a07b79a6f7 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -470,6 +470,7 @@ void SwDoubleLinePortion::FormatBrackets( SwTxtFormatInfo &rInf, SwTwips& nMaxWi
else
pBracket->nPostWidth = 0;
nMaxWidth += rInf.X();
+ delete(pTmpFnt);
}
/*--------------------------------------------------