[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Aug 23 20:18:46 PDT 2012


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

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

    SwHeaderFooterWin: memory leak
    
    Change-Id: Ie8322b93745c48970766c2033a23cca2c710a516
    (cherry picked from commit 442d0766eb9575a45572e29f2018bed2831c177f)
    Reviewed-on: https://gerrit.libreoffice.org/466
    Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
    Tested-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>

diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx b/sw/source/ui/docvw/HeaderFooterWin.cxx
index 9475c4f..f35f603 100644
--- a/sw/source/ui/docvw/HeaderFooterWin.cxx
+++ b/sw/source/ui/docvw/HeaderFooterWin.cxx
@@ -390,6 +390,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