Fixed a verilog parser memory leak
This commit is contained in:
parent
7a67add95d
commit
5b944ef11b
1 changed files with 1 additions and 0 deletions
|
@ -880,6 +880,7 @@ cell_port_list:
|
|||
if (!node->children.empty()) break;
|
||||
if (!node->str.empty()) break;
|
||||
astbuf2->children.pop_back();
|
||||
delete node;
|
||||
}
|
||||
|
||||
// check port types
|
||||
|
|
Loading…
Add table
Reference in a new issue