diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2019-01-29 20:12:52 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2019-01-29 20:12:52 +0100 |
commit | 4a08dfcd4895a71ac538c209088f9c884cc319d0 (patch) | |
tree | 65ddc03f30c578472a0db97fd88ceb66a3954f22 | |
parent | 647a9380b3dff9d10c2ebe7b43f882136d983c52 (diff) | |
download | efl-4a08dfcd4895a71ac538c209088f9c884cc319d0.tar.gz |
eolian_gen: free inlist nodes with the proper free function
-rw-r--r-- | src/bin/eolian/sources.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/eolian/sources.c b/src/bin/eolian/sources.c index e8c727fd44..028f4df55f 100644 --- a/src/bin/eolian/sources.c +++ b/src/bin/eolian/sources.c @@ -291,7 +291,9 @@ _generate_iterative_free(Eina_Strbuf **buf, const Eolian_Type *type, const Eolia eina_strbuf_append_char(*buf, ','); eina_strbuf_append_buffer(*buf, iter_param); eina_strbuf_append(*buf, ")\n"); - _generate_loop_content(buf, inner_type, iter_param); + eina_strbuf_append(*buf, " {\n"); + _write_free_call(*buf, eolian_type_free_func_get(type), iter_param, " "); + eina_strbuf_append(*buf, " }\n"); } else if (t == EOLIAN_TYPE_BUILTIN_ITERATOR) { |