summaryrefslogtreecommitdiff
path: root/src/bin/e_ilist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_ilist.c')
-rw-r--r--src/bin/e_ilist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/e_ilist.c b/src/bin/e_ilist.c
index 984a9a933..e1cbfa252 100644
--- a/src/bin/e_ilist.c
+++ b/src/bin/e_ilist.c
@@ -274,7 +274,7 @@ e_ilist_remove_label(Evas_Object *obj, char *label)
274 si = l->data; 274 si = l->data;
275 if (si) 275 if (si)
276 { 276 {
277 t = edje_object_part_text_get(si->base_obj, "label"); 277 t = strdup(edje_object_part_text_get(si->base_obj, "label"));
278 if (!strcmp(t, label)) 278 if (!strcmp(t, label))
279 { 279 {
280 if (si->icon_obj) evas_object_del(si->icon_obj); 280 if (si->icon_obj) evas_object_del(si->icon_obj);
@@ -284,7 +284,8 @@ e_ilist_remove_label(Evas_Object *obj, char *label)
284 break; 284 break;
285 } 285 }
286 } 286 }
287 } 287 }
288 free(t);
288} 289}
289 290
290/* local subsystem functions */ 291/* local subsystem functions */