]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
Add support for the new history functions to the ie backend. For this we manage our...
[wxWidgets.git] / src / common / init.cpp
index e220d9860f54dd64a796bc1503becaa125ce1379..561b726ccd2cc0743a1c8886b4922299818febdf 100644 (file)
@@ -204,8 +204,7 @@ static void FreeConvertedArgs()
             free(gs_initData.argv[i]);
         }
 
-        delete [] gs_initData.argv;
-        gs_initData.argv = NULL;
+        wxDELETEA(gs_initData.argv);
         gs_initData.argc = 0;
     }
 }