q66 pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d815c26f9c250e1745fc65e47bbd386016c34c3c
commit d815c26f9c250e1745fc65e47bbd386016c34c3c Author: Daniel Kolesa <d.kol...@samsung.com> Date: Thu Feb 6 14:43:38 2020 +0100 eolian: fix missing stringshare_ref This was properly applied to all cases except this one where it was overlooked/forgotten. That resulted in the @c_name() feature with enums being broken because of bad memory. Fixes T8596. --- src/lib/eolian/eo_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c index 730669b295..e6d80dd611 100644 --- a/src/lib/eolian/eo_parser.c +++ b/src/lib/eolian/eo_parser.c @@ -564,7 +564,7 @@ parse_enum(Eo_Lexer *ls, const char *name, Eina_Bool is_extern, def->base.name = name; if (cname) { - def->base.c_name = cname; + def->base.c_name = eina_stringshare_ref(cname); eo_lexer_dtor_pop(ls); } else --