]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
Enable variadic macros for VC9 and later.
[wxWidgets.git] / src / msw / main.cpp
index 552a864550a919c5ecff1f3ed13ce88f6009ba1f..3e4338ee9563b1cb1ff6e9170e6432a423a390a4 100644 (file)
@@ -333,8 +333,7 @@ struct wxMSWCommandLineArguments
             free(argv[i]);
         }
 
-        delete [] argv;
-        argv = NULL;
+        wxDELETEA(argv);
         argc = 0;
     }