From 315aaabbce6b2db52ff5796708b777b488fd848e Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 20 May 2014 18:25:58 +1000 Subject: The results of a session with valgrind. I'm surprised that this highly experimental code, built with chewing gum and chicken wire, had so little problems, and most of those where leaks. The majority of problems reported are from external libraries. --- src/LuaSL/LuaSL_compile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/LuaSL') diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c index c6ac70a..4fe5671 100644 --- a/src/LuaSL/LuaSL_compile.c +++ b/src/LuaSL/LuaSL_compile.c @@ -985,6 +985,7 @@ LSL_Leaf *addState(LuaSL_compiler *compiler, LSL_Leaf *state, LSL_Leaf *identifi { func->state = result->name.text; } + eina_iterator_free(handlers); result->block = block->value.blockValue; if (state) { @@ -1541,7 +1542,7 @@ static void outputRawParenthesisToken(FILE *file, outputMode mode, LSL_Parenthes else outputLeaf(file, mode, parenthesis->contents); if ((OM_LUA == mode) && (MF_WRAPFUNC & parenthesis->flags)) - // TODO - Need to fetc the identifier before, but we only have one in my test code, so fake it. + // TODO - Need to fetch the identifier before, but we only have one in my test code, so fake it. fprintf(file, "; return ix; end)() "); else { -- cgit v1.1