sfx2/source/control/thumbnailview.cxx |    1 +
 sw/source/ui/docvw/PageBreakWin.cxx   |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 5dc11d57f050c5e4c58843b18d76877c1005d067
Author: Ivan Timofeev <timofeev....@gmail.com>
Date:   Fri Aug 24 14:35:10 2012 +0400

    ThumbnailView: memory leak
    
    Change-Id: I652ec6bf0309f56d4d2bc1ff7b0fb2b8173de6be

diff --git a/sfx2/source/control/thumbnailview.cxx 
b/sfx2/source/control/thumbnailview.cxx
index e494cdc..5d05f67 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -76,6 +76,7 @@ ThumbnailView::~ThumbnailView()
 
     delete mpScrBar;
     delete mpItemAttrs;
+    delete mpProcessor;
 
     ImplDeleteItems();
 }
commit a251863970e0512a1dc2bd857913a3adf7148bb3
Author: Ivan Timofeev <timofeev....@gmail.com>
Date:   Fri Aug 24 14:30:56 2012 +0400

    SwPageBreakWin: memory leak
    
    Change-Id: Ibb543b8da8c89c7fa3799fada03c787dabe2b3cb

diff --git a/sw/source/ui/docvw/PageBreakWin.cxx 
b/sw/source/ui/docvw/PageBreakWin.cxx
index 53160d1..56e42b4 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( )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to