sw/source/core/text/pormulti.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 01311421166abcc5bd95f700bbf9ef96ec9e3cce
Author: Julien Nabet <[email protected]>
Date: Thu Mar 14 21:13:49 2013 +0100
coverity#705748: Resource leak
Change-Id: I3178b1301db389b76f514b5a2bf2d18dae78ae01
Reviewed-on: https://gerrit.libreoffice.org/2734
Reviewed-by: Björn Michaelsen <[email protected]>
Reviewed-by: Fridrich Strba <[email protected]>
Tested-by: Fridrich Strba <[email protected]>
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index c392c78..20a07b7 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);
}
/*--------------------------------------------------
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits