From eb6479b4b9bff355516b15e0572203aa8fda3dc5 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 15 Dec 2018 19:50:50 +0330 Subject: update --- luatablegen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/luatablegen.py b/luatablegen.py index 421f22e..2491eff 100755 --- a/luatablegen.py +++ b/luatablegen.py @@ -828,7 +828,8 @@ class TbgParser(object): type_replacement = simple_type_resovler(node.attrib["type"]) cond_node = get_cond_node(node, parent) if count == 1: - dummy += "free(dummy->" + field_name + ");\n" + #-FIXME i should really do something about memory management.this is getting out of hand... + #dummy += "free(dummy->" + field_name + ");\n" for con_child in node: child_def_node = get_def_node(con_child.attrib["type"][6:], self.elems) dummy += "if (dummy->"+cond_node.attrib["name"]+" == "+con_child.text+"){" -- cgit v1.2.3