aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-20 18:25:58 +1000
committerDavid Walter Seikel2014-05-20 18:25:58 +1000
commit315aaabbce6b2db52ff5796708b777b488fd848e (patch)
treeb58c92292cda35e4435b2448d61a654e30580c7d /src/LuaSL
parentClean up the server startup and connection a bit. (diff)
downloadSledjHamr-315aaabbce6b2db52ff5796708b777b488fd848e.zip
SledjHamr-315aaabbce6b2db52ff5796708b777b488fd848e.tar.gz
SledjHamr-315aaabbce6b2db52ff5796708b777b488fd848e.tar.bz2
SledjHamr-315aaabbce6b2db52ff5796708b777b488fd848e.tar.xz
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.
Diffstat (limited to 'src/LuaSL')
-rw-r--r--src/LuaSL/LuaSL_compile.c3
1 files changed, 2 insertions, 1 deletions
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
985 { 985 {
986 func->state = result->name.text; 986 func->state = result->name.text;
987 } 987 }
988 eina_iterator_free(handlers);
988 result->block = block->value.blockValue; 989 result->block = block->value.blockValue;
989 if (state) 990 if (state)
990 { 991 {
@@ -1541,7 +1542,7 @@ static void outputRawParenthesisToken(FILE *file, outputMode mode, LSL_Parenthes
1541 else 1542 else
1542 outputLeaf(file, mode, parenthesis->contents); 1543 outputLeaf(file, mode, parenthesis->contents);
1543 if ((OM_LUA == mode) && (MF_WRAPFUNC & parenthesis->flags)) 1544 if ((OM_LUA == mode) && (MF_WRAPFUNC & parenthesis->flags))
1544 // TODO - Need to fetc the identifier before, but we only have one in my test code, so fake it. 1545 // TODO - Need to fetch the identifier before, but we only have one in my test code, so fake it.
1545 fprintf(file, "; return ix; end)() "); 1546 fprintf(file, "; return ix; end)() ");
1546 else 1547 else
1547 { 1548 {