genlist: free selected items when genlist is cleared.

This commit is contained in:
ChunEon Park 2014-12-31 19:55:09 +09:00
parent ff9de8bea8
commit 2dd05e1580
1 changed files with 3 additions and 0 deletions

View File

@ -5769,6 +5769,9 @@ _internal_elm_genlist_clear(Evas_Object *obj,
ELM_SAFE_FREE(sd->calc_job, ecore_job_del);
_clear(sd);
}
if (sd->selected) ELM_SAFE_FREE(sd->selected, eina_list_free);
sd->pan_x = 0;
sd->pan_y = 0;
sd->minw = 0;