]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
avoid accepting an invalid color, ignore it, as other ports do, fixes #13720
[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;
     }
 }