From: Tom Hacohen Date: Fri, 20 May 2016 15:22:48 +0000 (+0100) Subject: Edje cc out: Make list removal slightly more efficient. X-Git-Tag: upstream/1.20.0~6229 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6dcc2e6cc4adfcc9ef1a14e2d375358fd8d12abc;p=platform%2Fupstream%2Fefl.git Edje cc out: Make list removal slightly more efficient. --- diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c index e5b1f9e..f55b56f 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; }