hackathon-dev #1

Merged
amy merged 101 commits from hackathon-dev into develop 2019-12-12 13:56:11 -07:00
Showing only changes of commit 9318d27b2b - Show all commits

View File

@ -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;
}