edje: fix wrong call to free() in edje_load.

SVN revision: 66276
This commit is contained in:
Cedric BAIL 2011-12-16 09:40:43 +00:00
parent 34581d0300
commit 27b0d50d98
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View 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;