edje: oops, should have compiled that one.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 16 Dec 2011 09:49:21 +0000 (09:49 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 16 Dec 2011 09:49:21 +0000 (09:49 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@66278 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_load.c

index bf5275d..21df16f 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;
-                           eina_mempool_free(rp);
+                           eina_mempool_free(_edje_real_part_mp, rp);
                             evas_event_thaw(tev);
                             evas_event_thaw_eval(tev);
                             return 0;