fixed memory leak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@551 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
23876b80c5
commit
076b7069ce
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue