]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
Removed a return statement from void function
[wxWidgets.git] / src / common / object.cpp
index c21fdf02f4b9f30de9ad46b00312ec4a81b807c7..05d4dd13b7cce1b64cf199e94a6a44ba27b6d0e1 100644 (file)
@@ -283,8 +283,7 @@ void wxClassInfo::Unregister()
         sm_classTable->Delete(m_className);
         if ( sm_classTable->GetCount() == 0 )
         {
-            delete sm_classTable;
-            sm_classTable = NULL;
+            wxDELETE(sm_classTable);
         }
     }
 }