summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-05-28 19:59:22 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-05-28 19:59:22 +0900
commit50973a53575525e9e040a7a01d64e11e3346de27 (patch)
treecea08d3f6e231626eae83e2ef5ea2492337a25f1
parent6a286e94784d68ec2856ab1e2d5aaaafbc6cca02 (diff)
genlist: do a proper clean up in clear().
Summary: Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com> Reviewers: raster, Hermet Subscribers: seoz, sachin.dev Differential Revision: https://phab.enlightenment.org/D2588
-rw-r--r--src/lib/elm_genlist.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index af2e35a97..7b0853f90 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -5656,6 +5656,11 @@ _internal_elm_genlist_clear(Evas_Object *obj)
5656 elm_layout_sizing_eval(sd->obj); 5656 elm_layout_sizing_eval(sd->obj);
5657 eo_do(obj, elm_interface_scrollable_content_region_show(0, 0, 0, 0)); 5657 eo_do(obj, elm_interface_scrollable_content_region_show(0, 0, 0, 0));
5658 5658
5659 ELM_SAFE_FREE(sd->multi_timer, ecore_timer_del);
5660 ELM_SAFE_FREE(sd->update_job, ecore_job_del);
5661 ELM_SAFE_FREE(sd->queue_idle_enterer, ecore_idle_enterer_del);
5662 ELM_SAFE_FREE(sd->must_recalc_idler, ecore_idler_del);
5663 ELM_SAFE_FREE(sd->tree_effect_animator, ecore_animator_del);
5659 ELM_SAFE_FREE(sd->event_block_rect, evas_object_del); 5664 ELM_SAFE_FREE(sd->event_block_rect, evas_object_del);
5660 ELM_SAFE_FREE(sd->scr_hold_timer, ecore_timer_del); 5665 ELM_SAFE_FREE(sd->scr_hold_timer, ecore_timer_del);
5661 ELM_SAFE_FREE(sd->queue, eina_list_free); 5666 ELM_SAFE_FREE(sd->queue, eina_list_free);