mirror of https://github.com/YosysHQ/yosys.git
Fixed a verilog parser memory leak
This commit is contained in:
parent
7a67add95d
commit
5b944ef11b
|
@ -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…
Reference in New Issue