free configs for demo gadgets on object free

these are purely for demo purposes and should never be retained

I think this is right...
This commit is contained in:
Mike Blumenkrantz 2017-01-13 11:35:26 -05:00
parent 5aadf3b3ff
commit 3af7affa02
1 changed files with 1 additions and 0 deletions

View File

@ -305,6 +305,7 @@ _gadget_object_free(E_Object *eobj)
E_FREE(zgc->e_obj_inherit);
zgc->configure = NULL;
zgc->display_del = zgc->moving = zgc->resizing = 0;
if (zgc->id == -1) _gadget_free(zgc);
}
static void