From 047362988b5b9910b41ef6cc7d12a685d849bcae Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 20 Mar 2015 10:31:48 +0000 Subject: vclptr: various mistakes fixed, and more ptr types converted. Change-Id: Iba04ec828f7ce37fc6ede28a64f1c286d81ff705 --- vcl/source/gdi/print.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl/source/gdi/print.cxx') diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index 7ba564581514..7c48a7fa1fe3 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -1024,6 +1024,7 @@ void Printer::dispose() DBG_ASSERT( !IsJobActive(), "Printer::~Printer() - Job is active" ); delete mpPrinterOptions; + mpPrinterOptions = NULL; ReleaseGraphics(); if ( mpInfoPrinter ) -- cgit