inorder: object cleanup in destructors

This commit is contained in:
Korey Sewell
2010-01-31 18:30:08 -05:00
parent 1a89e8f4cb
commit f3bc2df663
10 changed files with 29 additions and 7 deletions

View File

@@ -54,6 +54,11 @@ FetchSeqUnit::FetchSeqUnit(std::string res_name, int res_id, int res_width,
}
}
FetchSeqUnit::~FetchSeqUnit()
{
delete [] resourceEvent;
}
void
FetchSeqUnit::init()
{