Expression type might be null in some cases
This commit is contained in:
parent
2f5dcda3b6
commit
7120ab7b13
|
|
@ -315,7 +315,8 @@ void vhdl_signal_decl::emit(std::ofstream &of, int level) const
|
|||
|
||||
vhdl_expr::~vhdl_expr()
|
||||
{
|
||||
delete type_;
|
||||
if (type != NULL)
|
||||
delete type_;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue