projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
577afaa
)
Fix e_ilist compile warning
author
Christopher Michael
<cpmichael1@comcast.net>
Tue, 27 Dec 2005 23:44:16 +0000
(23:44 +0000)
committer
Christopher Michael
<cpmichael1@comcast.net>
Tue, 27 Dec 2005 23:44:16 +0000
(23:44 +0000)
SVN revision: 19330
src/bin/e_ilist.c
patch
|
blob
|
history
diff --git
a/src/bin/e_ilist.c
b/src/bin/e_ilist.c
index
984a9a9
..
e1cbfa2
100644
(file)
--- 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)
si = l->data;
if (si)
{
- t =
edje_object_part_text_get(si->base_obj, "label"
);
+ t =
strdup(edje_object_part_text_get(si->base_obj, "label")
);
if (!strcmp(t, label))
{
if (si->icon_obj) evas_object_del(si->icon_obj);
@@
-284,7
+284,8
@@
e_ilist_remove_label(Evas_Object *obj, char *label)
break;
}
}
- }
+ }
+ free(t);
}
/* local subsystem functions */