mirror of https://github.com/YosysHQ/yosys.git
Fixed memory leak in ilang frontend
This commit is contained in:
parent
e04d88cf22
commit
375f83c5ec
|
@ -107,6 +107,7 @@ attr_stmt:
|
||||||
TOK_ATTRIBUTE TOK_ID constant TOK_EOL {
|
TOK_ATTRIBUTE TOK_ID constant TOK_EOL {
|
||||||
attrbuf[$2] = *$3;
|
attrbuf[$2] = *$3;
|
||||||
delete $3;
|
delete $3;
|
||||||
|
free($2);
|
||||||
};
|
};
|
||||||
|
|
||||||
wire_stmt:
|
wire_stmt:
|
||||||
|
|
Loading…
Reference in New Issue