edje: fix wrong call to free() in edje_load.
authorcedric <cedric>
Fri, 16 Dec 2011 09:40:43 +0000 (09:40 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 16 Dec 2011 09:40:43 +0000 (09:40 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@66276 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/lib/edje_load.c

index 0bef458..ec2602b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        * 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.
index 644bb7c..bf5275d 100644 (file)
@@ -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;