X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98a0eff633c0050178d9125a8d27849bb78db3bc..7198c3368055d88249a338eb33b21f051f674806:/src/common/init.cpp?ds=sidebyside diff --git a/src/common/init.cpp b/src/common/init.cpp index e220d9860f..561b726ccd 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -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; } }