summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eo_definitions.c2
-rw-r--r--eo_definitions.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/eo_definitions.c b/eo_definitions.c
index e319d0d..b2b2675 100644
--- a/eo_definitions.c
+++ b/eo_definitions.c
@@ -63,6 +63,8 @@ eo_definitions_method_def_free(Eo_Method_Def *meth)
eina_stringshare_del(meth->name);
if (meth->comment)
eina_stringshare_del(meth->comment);
+ if (meth->legacy)
+ eina_stringshare_del(meth->legacy);
EINA_LIST_FREE(meth->params, param)
eo_definitions_param_free(param);
diff --git a/eo_definitions.h b/eo_definitions.h
index 16f2f9c..ba1f6a3 100644
--- a/eo_definitions.h
+++ b/eo_definitions.h
@@ -63,6 +63,7 @@ typedef struct _eo_method_def
const char *name;
const char *comment;
Eina_List *params;
+ const char* legacy;
} Eo_Method_Def;
/* CLASS */