summaryrefslogtreecommitdiffstats
path: root/eo_definitions.c
diff options
context:
space:
mode:
Diffstat (limited to 'eo_definitions.c')
-rw-r--r--eo_definitions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eo_definitions.c b/eo_definitions.c
index 760337f..2a7f587 100644
--- a/eo_definitions.c
+++ b/eo_definitions.c
@@ -29,8 +29,8 @@ eo_definitions_accessor_free(Eo_Accessor_Def *accessor)
if (accessor->comment)
eina_stringshare_del(accessor->comment);
- EINA_LIST_FOREACH(accessor->legacies, l, s)
- if (s) eina_stringshare_del(s);
+ if (accessor->legacy)
+ eina_stringshare_del(accessor->legacy);
eo_definitions_ret_free(&accessor->ret);