]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/app.cpp
Warning fix.
[wxWidgets.git] / src / msw / app.cpp
index af76477049a984609f08f17247387c83263475ad..e071002e1b367d504f389511d9453c8e846cc2d2 100644 (file)
@@ -503,17 +503,6 @@ wxApp::wxApp()
 
 wxApp::~wxApp()
 {
-    // our cmd line arguments are allocated inside wxEntry(HINSTANCE), they
-    // don't come from main(), so we have to free them
-
-    while ( argc )
-    {
-        // m_argv elements were allocated by wxStrdup()
-        free(argv[--argc]);
-    }
-
-    // but m_argv itself -- using new[]
-    delete [] argv;
 }
 
 // ----------------------------------------------------------------------------