summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-11-30 21:18:02 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-11-30 21:18:02 +0900
commitef5c03207c0985a3b42f96d77fcbef995ea86298 (patch)
tree94ecc2abfe6b8390d91587363442bc3e88eb5d2a
parent7175c00bc24affd512894899d5054195e84efe37 (diff)
main: Fix crash on shutdownHEADmaster
Don't let _event_del access an already freed zone.
-rw-r--r--src/bin/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 7df9f04..5ccad6a 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -2393,6 +2393,9 @@ zone_del(Zone *zone)
2393 * their lists. 2393 * their lists.
2394 */ 2394 */
2395 2395
2396 evas_object_event_callback_del_full(zone->event, EVAS_CALLBACK_DEL, _event_del, zone);
2397
2398
2396 free(zone); 2399 free(zone);
2397 zones = eina_list_remove(zones, zone); 2400 zones = eina_list_remove(zones, zone);
2398} 2401}