summaryrefslogtreecommitdiffstats
path: root/dimension/common.rules
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/common.rules')
-rw-r--r--dimension/common.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/dimension/common.rules b/dimension/common.rules
index 3d6fd0a..d5e8994 100644
--- a/dimension/common.rules
+++ b/dimension/common.rules
@@ -153,8 +153,10 @@ OBJECT: FINITE_SOLID_OBJECT
for (i = 0; i < dmnsn_array_size($4.children); ++i) {
dmnsn_astnode astnode;
dmnsn_array_get($4.children, i, &astnode);
+ ++*astnode.refcount;
dmnsn_array_push(modifiers->children, &astnode);
}
+ dmnsn_delete_astnode($4);
break;
}