From: cedric Date: Fri, 16 Dec 2011 09:40:43 +0000 (+0000) Subject: edje: fix wrong call to free() in edje_load. X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~479 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=027e53a51229a38d049ee0ba3506b19eb5419783;p=profile%2Fivi%2Fedje.git edje: fix wrong call to free() in edje_load. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@66276 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/ChangeLog b/ChangeLog index 0bef458..ec2602b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -234,3 +234,7 @@ * Entry: Added cursor,changed,manual signal. This signal indicates the cursor has been manually changed, i.e by either mouse click or arrows. + +2011-12-16 Cedric Bail + + * Fix wrong call to free() in edje_load. diff --git a/src/lib/edje_load.c b/src/lib/edje_load.c index 644bb7c..bf5275d 100644 --- a/src/lib/edje_load.c +++ b/src/lib/edje_load.c @@ -373,7 +373,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const char *file, const char *g if (!rp->drag) { ed->load_error = EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED; - free(rp); + eina_mempool_free(rp); evas_event_thaw(tev); evas_event_thaw_eval(tev); return 0;