[Libreoffice-commits] core.git: sw/source

Julien Nabet serval2412 at yahoo.fr
Thu Mar 14 13:41:18 PDT 2013


 sw/source/core/text/pormulti.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 01311421166abcc5bd95f700bbf9ef96ec9e3cce
Author: Julien Nabet <serval2412 at yahoo.fr>
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 <bjoern.michaelsen at canonical.com>
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

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);
 }
 
 /*--------------------------------------------------


More information about the Libreoffice-commits mailing list