hackathon-dev #1
|
@ -126,7 +126,8 @@ PyObject *Epython_wrap_bitmap(PBITMAP pbmp)
|
|||
{
|
||||
pbitmapobj = (BitmapObject *)rc;
|
||||
Log(LDEBUG, "gonna delete bitmap");
|
||||
BMP_Delete(pbitmapobj->pbmp);
|
||||
if (pbitmapobj->pbmp)
|
||||
BMP_Delete(pbitmapobj->pbmp);
|
||||
Log(LDEBUG, "deleted bitmap");
|
||||
pbitmapobj->pbmp = pbmp;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user