Expression type might be null in some cases

This commit is contained in:
Nick Gasson 2008-06-09 12:54:21 +01:00
parent 2f5dcda3b6
commit 7120ab7b13
1 changed files with 2 additions and 1 deletions

View File

@ -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_;
}
/*