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

New commits:
commit ccc8a44a21fbfb4e2b4cb659f4c515aeac795006
Author: Julien Nabet <serval2...@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 <fridr...@documentfoundation.org>
    Tested-by: Fridrich Strba <fridr...@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;
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to