use delete for memory allocated with new, closes #16797

This commit is contained in:
Paul Cornett 2015-07-27 10:33:47 -07:00
parent 28ba8ed84e
commit 627b460378

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 );
free( files );
delete[] files;
return ret;
}