summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo1_generator.c
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-03 18:01:53 +0200
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-03 18:14:14 +0200
commitfe682d97604219a4687aaf5fb808c4ee73e32693 (patch)
tree6fd2ad3bbc9e3e55cdeb70b06dc6f6ff230b1ebb /src/bin/eolian/eo1_generator.c
parent49822ec28d7901676135c42bc63e8adb09294842 (diff)
Eolian: Valgrind fixes
Diffstat (limited to 'src/bin/eolian/eo1_generator.c')
-rw-r--r--src/bin/eolian/eo1_generator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/eolian/eo1_generator.c b/src/bin/eolian/eo1_generator.c
index 1542f08ab5..478ddd9289 100644
--- a/src/bin/eolian/eo1_generator.c
+++ b/src/bin/eolian/eo1_generator.c
@@ -294,11 +294,13 @@ eo1_header_generate(const char *classname, Eina_Strbuf *buf)
294 eina_strbuf_replace_all(str_hdr, "@#list_subid", eina_strbuf_string_get(str_subid)); 294 eina_strbuf_replace_all(str_hdr, "@#list_subid", eina_strbuf_string_get(str_subid));
295 eina_strbuf_append(str_hdr, eina_strbuf_string_get(str_ev)); 295 eina_strbuf_append(str_hdr, eina_strbuf_string_get(str_ev));
296 296
297 eina_strbuf_append(buf, eina_strbuf_string_get(str_hdr));
298
297 eina_strbuf_free(str_subid); 299 eina_strbuf_free(str_subid);
298 eina_strbuf_free(str_ev); 300 eina_strbuf_free(str_ev);
299 eina_strbuf_free(tmpbuf); 301 eina_strbuf_free(tmpbuf);
302 eina_strbuf_free(str_hdr);
300 303
301 eina_strbuf_append(buf, eina_strbuf_string_get(str_hdr));
302 return EINA_TRUE; 304 return EINA_TRUE;
303} 305}
304 306