q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9f0bcdf70719ceaba94be46095a2854e6ada161d

commit 9f0bcdf70719ceaba94be46095a2854e6ada161d
Author: q66 <[email protected]>
Date:   Sat Jul 19 13:00:44 2014 +0100

    eolian: ouch... fix a major bug, *spanks self*
---
 src/lib/eolian/database_fill.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib/eolian/database_fill.c b/src/lib/eolian/database_fill.c
index af7ea1c..c26271f 100644
--- a/src/lib/eolian/database_fill.c
+++ b/src/lib/eolian/database_fill.c
@@ -317,12 +317,13 @@ _db_fill_implement(Eolian_Class *cl, Eolian_Implement 
*impl)
                ftype = EOLIAN_PROP_GET;
           }
 
-        free(virtual_name);
-
         Eolian_Function *foo_id = (Eolian_Function*)
                                    eolian_class_function_find_by_name(cl,
                                                                       func,
                                                                       ftype);
+
+        free(virtual_name);
+
         if (!foo_id)
           {
              ERR("Error - %s not known in class %s", impl_name + 8,

-- 


Reply via email to