use delete for memory allocated with new

This commit is contained in:
Paul Cornett
2015-07-27 10:32:50 -07:00
parent 74da7cba07
commit 35acf46cc4

View File

@@ -109,7 +109,7 @@ bool wxFileDropTarget::OnDrop(long x, long y, const void *data, size_t size )
bool ret = OnDropFiles( x, y, 1, files ); bool ret = OnDropFiles( x, y, 1, files );
free( files ); delete[] files;
return ret; return ret;
} }