projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e04d88c
)
Fixed memory leak in ilang frontend
author
Clifford Wolf
<clifford@clifford.at>
Thu, 23 May 2013 10:55:59 +0000
(12:55 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 23 May 2013 10:55:59 +0000
(12:55 +0200)
frontends/ilang/parser.y
patch
|
blob
|
history
diff --git
a/frontends/ilang/parser.y
b/frontends/ilang/parser.y
index 61bac830f4853f4f86544268b5f3977439f02e09..3d474d00559537d7e26dea98a420bbc390f1852c 100644
(file)
--- 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: