From b2611690bd2a1d3fdfc109c14ba3ca46fa71db6e Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Thu, 20 Nov 2014 09:16:55 +0900 Subject: [PATCH] transit: free the map resource. @fix Submitted-By-Off: Seung-Wan Woo --- src/lib/elm_transit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_transit.c b/src/lib/elm_transit.c index 2e341c3..daa7f35 100644 --- a/src/lib/elm_transit.c +++ b/src/lib/elm_transit.c @@ -118,8 +118,9 @@ _transit_obj_data_update(Elm_Transit *transit, Evas_Object *obj) obj_data->freeze_events = evas_object_freeze_events_get(obj); - if (!transit->state_keep) + if (!transit->state_keep && obj_data->state) { + if (obj_data->state->map) evas_map_free(obj_data->state->map); ELM_SAFE_FREE(obj_data->state, free); } else -- 2.7.4