]> git.saurik.com Git - wxWidgets.git/commitdiff
should use array delete on a wxString object (line 991) that is not an array of wxStrings
authorDavid Webster <Dave.Webster@bhmi.com>
Fri, 29 Dec 2000 17:38:03 +0000 (17:38 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Fri, 29 Dec 2000 17:38:03 +0000 (17:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filefn.cpp

index 633b21aecab870ef9dfa748848f88a8ad8d5b07b..7ce14f83aa358f48c2edbe6bcb6bacdd1c20465a 100644 (file)
@@ -988,7 +988,7 @@ wxConcatFiles (const wxString& file1, const wxString& file2, const wxString& fil
 
   fclose (fp3);
   bool result = wxRenameFile(outfile, file3);
-  delete[] outfile;
+  delete outfile;
   return result;
 }