summaryrefslogtreecommitdiff
path: root/frontends/ilang/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/ilang/parser.y')
-rw-r--r--frontends/ilang/parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/ilang/parser.y b/frontends/ilang/parser.y
index 61bac830..3d474d00 100644
--- a/frontends/ilang/parser.y
+++ b/frontends/ilang/parser.y
@@ -107,6 +107,7 @@ attr_stmt:
TOK_ATTRIBUTE TOK_ID constant TOK_EOL {
attrbuf[$2] = *$3;
delete $3;
+ free($2);
};
wire_stmt: