mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-25 08:54:37 +00:00
Fix buggy memory allocation introduced in #5152: 1) clean up ast_stack to reflect AST node rearrangement when necessary, to avoid dangling pointer; 2) call free_attr() on unused attribute list when no new syntax node is created, to avoid leaking it. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| const2ast.cc | ||
| Makefile.inc | ||
| preproc.cc | ||
| preproc.h | ||
| verilog_frontend.cc | ||
| verilog_frontend.h | ||
| verilog_lexer.l | ||
| verilog_parser.y | ||