]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/hash.cpp
fix memory leak in wxScreenDC, fixes #13249
[wxWidgets.git] / src / common / hash.cpp
index 1e36fec843fbd3b6720f59059872922bd1f54327..8c7049b6b4f391a61ab60b87cf04ecd1274a6a6c 100644 (file)
@@ -135,9 +135,7 @@ void wxHashTableBase::Destroy()
 {
     Clear();
 
-    delete[] m_table;
-
-    m_table = NULL;
+    wxDELETEA(m_table);
     m_size = 0;
 }