fixed memory leak

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@551 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
fires.gc 2008-09-17 07:16:14 +00:00
parent 23876b80c5
commit 076b7069ce
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ wxBitmap wxBitmapFromMemoryRGBA(const unsigned char* data, int width, int height
wxMemoryInputStream is(pdata, bytes);
wxBitmap map(wxImage(is, wxBITMAP_TYPE_BMP, -1), -1);
delete pdata;
delete [] pdata;
return map;
}