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

Julien Nabet serval2412 at yahoo.fr
Thu Mar 14 13:54:56 PDT 2013


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

New commits:
commit ccc8a44a21fbfb4e2b4cb659f4c515aeac795006
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Mar 14 21:45:51 2013 +0100

    coverity#705747: Resource leak
    
    Change-Id: Ifc071261ce5697355b904fbd12272b27c04183e4
    Reviewed-on: https://gerrit.libreoffice.org/2736
    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 20a07b7..12cd6e7 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;
 }
 


More information about the Libreoffice-commits mailing list