summaryrefslogtreecommitdiff
path: root/frontends/ilang
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-05-23 12:55:59 +0200
committerClifford Wolf <clifford@clifford.at>2013-05-23 12:55:59 +0200
commit375f83c5ecde82226c33fbfb89463e92548ecf63 (patch)
tree10a4a042cc2bad94bb0eb27e7678be527f1ff649 /frontends/ilang
parente04d88cf226df77aab81c05d232250f50b1ea5bc (diff)
Fixed memory leak in ilang frontend
Diffstat (limited to 'frontends/ilang')
-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: