]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
ast_member will not unref/delete the owner: first of all the owner is always an ast_v...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 14:30:09 +0000 (16:30 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 14:30:09 +0000 (16:30 +0200)
ast.c

diff --git a/ast.c b/ast.c
index cdefab67ab27d960f20d0066e513e58a89dd6f91..317f0efe59c14d256db2aa812f70fae2ee8647a0 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -405,7 +405,7 @@ ast_member* ast_member_new(lex_ctx ctx, ast_expression *owner, unsigned int fiel
 
 void ast_member_delete(ast_member *self)
 {
-    ast_unref(self->owner);
+    // ast_unref(self->owner);
     ast_expression_delete((ast_expression*)self);
     mem_d(self);
 }