]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
Added tracing to strdup for allocations, fixed some memleaks, this isn't pretty ...
[xonotic/gmqcc.git] / ast.c
diff --git a/ast.c b/ast.c
index 919e0a636e9befadfc3b4400bb56d09853ef831c..b1b7ba826cc9b7a3d085c993fbcd3a1c24e0c58e 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -584,6 +584,7 @@ void ast_member_delete(ast_member *self)
      * purpose that is not garbage-collected.
     */
     ast_expression_delete((ast_expression*)self);
      * purpose that is not garbage-collected.
     */
     ast_expression_delete((ast_expression*)self);
+    mem_d(self->name);
     mem_d(self);
 }
 
     mem_d(self);
 }