summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-01-13 11:35:26 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-01-13 11:35:20 -0500
commit3af7affa026b7cdc7ea09f69abe6903a4df01b27 (patch)
tree53b5ac78fc1b0cd24ad2eedf48387177c422ee01
parent5aadf3b3ffe3c6876f795cea03566105625c9748 (diff)
free configs for demo gadgets on object free
these are purely for demo purposes and should never be retained I think this is right...
-rw-r--r--src/bin/e_gadget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_gadget.c b/src/bin/e_gadget.c
index d6fe1deea..5ff94ed2a 100644
--- a/src/bin/e_gadget.c
+++ b/src/bin/e_gadget.c
@@ -305,6 +305,7 @@ _gadget_object_free(E_Object *eobj)
305 E_FREE(zgc->e_obj_inherit); 305 E_FREE(zgc->e_obj_inherit);
306 zgc->configure = NULL; 306 zgc->configure = NULL;
307 zgc->display_del = zgc->moving = zgc->resizing = 0; 307 zgc->display_del = zgc->moving = zgc->resizing = 0;
308 if (zgc->id == -1) _gadget_free(zgc);
308} 309}
309 310
310static void 311static void