From: David Webster Date: Fri, 29 Dec 2000 17:38:03 +0000 (+0000) Subject: should use array delete on a wxString object (line 991) that is not an array of wxStrings X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eb53bce493d640225a8e562bebf66254d0c205fe should use array delete on a wxString object (line 991) that is not an array of wxStrings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 633b21aeca..7ce14f83aa 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -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; }