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

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


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

New commits:
commit e8ddde302cdea785e6588be6175e15c7fa2bc809
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Fri Aug 24 14:30:56 2012 +0400

    SwPageBreakWin: memory leak
    
    Change-Id: Ibb543b8da8c89c7fa3799fada03c787dabe2b3cb
    (cherry picked from commit a251863970e0512a1dc2bd857913a3adf7148bb3)
    Reviewed-on: https://gerrit.libreoffice.org/472
    Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
    Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>

diff --git a/sw/source/ui/docvw/PageBreakWin.cxx b/sw/source/ui/docvw/PageBreakWin.cxx
index 02a3dcb..b8a3553 100644
--- a/sw/source/ui/docvw/PageBreakWin.cxx
+++ b/sw/source/ui/docvw/PageBreakWin.cxx
@@ -215,6 +215,7 @@ void SwPageBreakWin::Paint( const Rectangle& )
                     *this, aNewViewInfos );
 
     pProcessor->process( aGhostedSeq );
+    delete pProcessor;
 }
 
 void SwPageBreakWin::Select( )


More information about the Libreoffice-commits mailing list