]> git.saurik.com Git - wxWidgets.git/commitdiff
prevent double deletion of cairo lib
authorRobert Roebling <robert@roebling.de>
Fri, 7 Sep 2007 07:40:38 +0000 (07:40 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 7 Sep 2007 07:40:38 +0000 (07:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/print.cpp

index e78836ff55e318c3c2794a135ab062af9828d261..2486eb99dd6643448a824d080bd8b50290cea531 100644 (file)
@@ -85,7 +85,7 @@ bool wxGtkPrintModule::OnInit()
 
 void wxGtkPrintModule::OnExit()
 {
-    delete gs_cairo;
+    gs_cairo = NULL;
 }
 
 IMPLEMENT_DYNAMIC_CLASS(wxGtkPrintModule, wxModule)