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
OSStatus status = LSGetExtensionInfo( wholeString.length, buffer, &periodIndex );
// Deallocate the buffer
- delete buffer;
+ delete [] buffer;
// If the period could not be located it will not be possible to get the URL
if( status != noErr || periodIndex == kLSInvalidExtensionIndex )