summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-08-23 20:15:51 +0400
committerBosdonnat Cedric <cedric.bosdonnat@free.fr>2012-08-24 03:18:23 +0000
commit8aad87be76ba86a9ce5bd5e6b358c48eb35fbd42 (patch)
tree499dcb66f8e54abdbd8e6217260a675b2d1a3cf5 /sw
parenta11a3352ff049ae7f4d9780fd1c694cc560dc8e4 (diff)
SwHeaderFooterWin: memory leak
Change-Id: Ie8322b93745c48970766c2033a23cca2c710a516 (cherry picked from commit 442d0766eb9575a45572e29f2018bed2831c177f) Reviewed-on: https://gerrit.libreoffice.org/466 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/docvw/HeaderFooterWin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx b/sw/source/ui/docvw/HeaderFooterWin.cxx
index 9475c4fa7b0e..f35f6031eeeb 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( )