From 7457f675ff4f2034d1606acec348726b2abaeef5 Mon Sep 17 00:00:00 2001 From: Flavio Ceolin Date: Tue, 4 Sep 2012 21:43:32 +0000 Subject: [PATCH] edje_edit: Closing the opened eet_file Closing the file openned in the functions _edje_edit_smart_file_set. It balances the reference count and avoids the message that the file is still opened. Patch by: Flavio Ceolin SVN revision: 76149 --- legacy/edje/src/lib/edje_edit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/legacy/edje/src/lib/edje_edit.c b/legacy/edje/src/lib/edje_edit.c index 5ae5947a5e..65ea50b0cd 100644 --- a/legacy/edje/src/lib/edje_edit.c +++ b/legacy/edje/src/lib/edje_edit.c @@ -263,6 +263,8 @@ _edje_edit_smart_file_set(Evas_Object *obj, const char *file, const char *group, eina_hash_add(eed->program_scripts, &ps->id, ps); } if (keys) free(keys); + eet_close(ef); + return EINA_TRUE; }