summaryrefslogtreecommitdiffstats
path: root/dimension/common.rules
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-07-03 23:02:41 -0600
committerTavian Barnes <tavianator@gmail.com>2010-07-03 23:02:41 -0600
commit258c501d096e9b8b26d8a9a057fe9d0fdab253c2 (patch)
tree8d2b61b26f715d9be6f9c5c62ebc5a29bc61f286 /dimension/common.rules
parent30fdc0ad8f71c7b3930287b2e6ea20c019f9f5ff (diff)
downloaddimension-258c501d096e9b8b26d8a9a057fe9d0fdab253c2.tar.xz
Plug leak in transformation parsing.
Diffstat (limited to 'dimension/common.rules')
-rw-r--r--dimension/common.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/dimension/common.rules b/dimension/common.rules
index c2b9fda..89b7ab8 100644
--- a/dimension/common.rules
+++ b/dimension/common.rules
@@ -144,6 +144,7 @@ TRANSFORMATION_ITEM: IDENTIFIER {
dmnsn_array_get(trans->children, 0, &$$);
++*$$.refcount;
+ dmnsn_delete_astnode($1);
}
| TRANSFORMATION {
dmnsn_array_get($1.children, 0, &$$);