]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commit
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)
commitffd41cb1c7c72cc2ea3b8660e6ee7ccc01e11244
tree3906a971d8b0d5242e23a188f21331b849f1c7bb
parentb6ab0207b1b18a9a8eebffcfab5c61d7302b027d
ast_member will not unref/delete the owner: first of all the owner is always an ast_value, which won't get deleted anyway, secondly: the ast_members are collected and deleted after the owners, so ast_unref(owner) will cause invalid memory access
ast.c