3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 22:23:23 +00:00

verilog: Squash a memory leak.

That was added in ecc22f7fed
This commit is contained in:
Marcelina Kościelnicka 2021-06-14 16:28:10 +02:00
parent 438bcc68c0
commit 801ecc0e1d
4 changed files with 14 additions and 19 deletions

View file

@ -47,7 +47,7 @@ namespace VERILOG_FRONTEND
// names of locally typedef'ed types in a stack
typedef std::map<std::string, AST::AstNode*> UserTypeMap;
extern std::vector<UserTypeMap *> user_type_stack;
extern std::vector<UserTypeMap> user_type_stack;
// names of package typedef'ed types
extern dict<std::string, AST::AstNode*> pkg_user_types;