aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/verilog/verilog_frontend.h
diff options
context:
space:
mode:
authorMarcelina Koƛcielnicka <mwk@0x04.net>2021-06-14 16:28:10 +0200
committerMarcelina Koƛcielnicka <mwk@0x04.net>2021-06-14 17:07:41 +0200
commit801ecc0e1d75f092981361632265edce67130a73 (patch)
treebb8151cec247c419545a909c7d9ce51e49b6d637 /frontends/verilog/verilog_frontend.h
parent438bcc68c0859057e4d3f521d1c865d2a9d90e15 (diff)
downloadyosys-801ecc0e1d75f092981361632265edce67130a73.tar.gz
yosys-801ecc0e1d75f092981361632265edce67130a73.tar.bz2
yosys-801ecc0e1d75f092981361632265edce67130a73.zip
verilog: Squash a memory leak.
That was added in ecc22f7fedfa639482dbc55a05709da85116a60f
Diffstat (limited to 'frontends/verilog/verilog_frontend.h')
-rw-r--r--frontends/verilog/verilog_frontend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/verilog_frontend.h b/frontends/verilog/verilog_frontend.h
index 30f1c1180..8454e7999 100644
--- a/frontends/verilog/verilog_frontend.h
+++ b/frontends/verilog/verilog_frontend.h
@@ -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;