summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/oldprintadaptor.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-05-11 13:43:35 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-11 13:43:35 +0200
commitfa75633e62c7ad1bcdf2c585eb6ab28062b96573 (patch)
treecc63d3eeb1cbbb53a6f48d484ffce9da216386e2 /vcl/source/gdi/oldprintadaptor.cxx
parent2918137a5ba99c69cdf7188a8cfaf854d373c5d8 (diff)
do not leak memory
Diffstat (limited to 'vcl/source/gdi/oldprintadaptor.cxx')
-rw-r--r--vcl/source/gdi/oldprintadaptor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/gdi/oldprintadaptor.cxx b/vcl/source/gdi/oldprintadaptor.cxx
index 4d87c06471ee..ecba7a97880b 100644
--- a/vcl/source/gdi/oldprintadaptor.cxx
+++ b/vcl/source/gdi/oldprintadaptor.cxx
@@ -63,6 +63,7 @@ OldStylePrintAdaptor::OldStylePrintAdaptor( const boost::shared_ptr< Printer >&
OldStylePrintAdaptor::~OldStylePrintAdaptor()
{
+ delete mpData;
}
void OldStylePrintAdaptor::StartPage()