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 0ba8bf56c5
commit 5ab0d5be88
1 changed files with 1 additions and 0 deletions

View File

@ -272,6 +272,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