summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-05-20 16:22:48 +0100
committerTom Hacohen <tom@stosb.com>2016-05-20 16:24:06 +0100
commit6dcc2e6cc4adfcc9ef1a14e2d375358fd8d12abc (patch)
tree153b15895c5a9dfe3b80715f6bc71eb0caa10bc9
parentb7ef3bcf0de54028ad142641f5a36c0abaacf96d (diff)
downloadefl-6dcc2e6cc4adfcc9ef1a14e2d375358fd8d12abc.tar.gz
Edje cc out: Make list removal slightly more efficient.
-rw-r--r--src/bin/edje/edje_cc_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index e5b1f9e3f0..f55b56fdff 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -2958,7 +2958,7 @@ copied_program_anonymous_lookup_delete(Edje_Part_Collection *pc, int *dest)
{
if (pl->dest == &cp->id)
{
- cd->programs = eina_list_remove(cd->programs, cp);
+ cd->programs = eina_list_remove_list(cd->programs, l2);
free(cp);
break;
}