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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 29 12:16:49 PDT 2012


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

New commits:
commit f565dc51a7e6d8eccca38b2bf3383577d67dcaa1
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/467
    Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
    Tested-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
    Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
    Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>

diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx b/sw/source/ui/docvw/HeaderFooterWin.cxx
index 32e8767..7005f83 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