]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/app.cpp
fix memory leak in wxScreenDC, fixes #13249
[wxWidgets.git] / src / motif / app.cpp
index e9fbf1b7d2d46e8b8e2c4a787df7badf4f2735fd..4216c8796edd38ae769028a909fc750466afe323 100644 (file)
@@ -269,8 +269,7 @@ void wxApp::CleanUp()
 {
     wxAppBase::CleanUp();
 
-    delete wxWidgetHashTable;
-    wxWidgetHashTable = NULL;
+    wxDELETE(wxWidgetHashTable);
 
     delete m_mainLoop;