eolian/generator: fix memory leak
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 26 May 2015 16:25:11 +0000 (17:25 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 26 May 2015 16:25:11 +0000 (17:25 +0100)
src/bin/eolian/eo_generator.c

index 573fe1f..800d1ce 100644 (file)
@@ -305,6 +305,7 @@ eo_header_generate(const Eolian_Class *class, Eina_Strbuf *buf)
              eina_strbuf_append(str_extrn_ev, "#endif\n");
           }
      }
+   eina_iterator_free(itr);
 
    if ((itr = eolian_class_implements_get(class)))
      {