Changes to vhdlpp/expression.cc

Changed for "Microsoft Visual Studio Express 2015 RC Web" for runtime memory access violation for vhdl_test4.vhd.
This commit is contained in:
Frederick C. Kurz 2015-07-10 12:50:38 -04:00 committed by Stephen Williams
parent 5f906369b5
commit 4cf4cdabcd
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ ExpAggregate::~ExpAggregate()
for(std::vector<choice_element>::iterator it = aggregate_.begin();
it != aggregate_.end(); ++it) {
delete it->choice;
delete it->expr;
if(!it->alias_flag) delete it->expr;
}
}