mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-27 00:18:46 +00:00
Fixed memory leak in ilang frontend
This commit is contained in:
parent
e04d88cf22
commit
375f83c5ec
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue