Use correct delete[] for a buffer allocated with new[].
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Jan 2011 22:04:18 +0000 (22:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Jan 2011 22:04:18 +0000 (22:04 +0000)
commitb622441a8dc47fe33f5677e2baf0253e082bfe4b
tree9a065eaabb601094fd6ae41cb44d2a35731bf9ac
parent4a40cd9bae5e4e76fadb6188b399905028a02bc7
Use correct delete[] for a buffer allocated with new[].

Fix mismatch between scalar new and array delete in GetPathForIconFile() in
wxOSX wxMimeTypeManager code.

Closes #12826.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/core/mimetype.cpp