[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Aug 23 09:16:56 PDT 2012


 sw/source/ui/docvw/HeaderFooterWin.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 442d0766eb9575a45572e29f2018bed2831c177f
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Thu Aug 23 20:15:51 2012 +0400

    SwHeaderFooterWin: memory leak
    
    Change-Id: Ie8322b93745c48970766c2033a23cca2c710a516

diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx b/sw/source/ui/docvw/HeaderFooterWin.cxx
index 9e4bc27..482ec7d 100644
--- a/sw/source/ui/docvw/HeaderFooterWin.cxx
+++ b/sw/source/ui/docvw/HeaderFooterWin.cxx
@@ -387,6 +387,7 @@ void SwHeaderFooterWin::Paint( const Rectangle& )
                 aSeq, BColorModifier( Color( COL_WHITE ).getBColor(), 1.0 - nFadeRate, BCOLORMODIFYMODE_INTERPOLATE ) ) );
 
     pProcessor->process( aGhostedSeq );
+    delete pProcessor;
 }
 
 bool SwHeaderFooterWin::IsEmptyHeaderFooter( )


More information about the Libreoffice-commits mailing list