summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-08-24 14:30:56 +0400
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-08-29 19:11:36 +0000
commit2dc3f70b13ed861de6cb1b37b90edaa4fd0aa510 (patch)
treef6972741792994269992a8e29e0e3c6952551208
parent88c8616270c2157d1a54ba54ddc4bdfae1cd1825 (diff)
SwPageBreakWin: memory leak
Change-Id: Ibb543b8da8c89c7fa3799fada03c787dabe2b3cb (cherry picked from commit a251863970e0512a1dc2bd857913a3adf7148bb3) Reviewed-on: https://gerrit.libreoffice.org/473 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
-rw-r--r--sw/source/ui/docvw/PageBreakWin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/docvw/PageBreakWin.cxx b/sw/source/ui/docvw/PageBreakWin.cxx
index f92101cc4c72..cd1184fb1830 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( )