diff options
author | Korey Sewell <ksewell@umich.edu> | 2010-01-31 18:30:08 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2010-01-31 18:30:08 -0500 |
commit | f3bc2df663cccd7db7a4ba87acfc2d0137a5ca02 (patch) | |
tree | 90b4d7f42d47b85f899e2283b5c661f4b5f0256d /src/cpu/inorder/resources/fetch_seq_unit.cc | |
parent | 1a89e8f4cbab3b3a6fd144d3d08dfeaac203f945 (diff) | |
download | gem5-f3bc2df663cccd7db7a4ba87acfc2d0137a5ca02.tar.xz |
inorder: object cleanup in destructors
Diffstat (limited to 'src/cpu/inorder/resources/fetch_seq_unit.cc')
-rw-r--r-- | src/cpu/inorder/resources/fetch_seq_unit.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/inorder/resources/fetch_seq_unit.cc b/src/cpu/inorder/resources/fetch_seq_unit.cc index ba86a91f0..03663881c 100644 --- a/src/cpu/inorder/resources/fetch_seq_unit.cc +++ b/src/cpu/inorder/resources/fetch_seq_unit.cc @@ -54,6 +54,11 @@ FetchSeqUnit::FetchSeqUnit(std::string res_name, int res_id, int res_width, } } +FetchSeqUnit::~FetchSeqUnit() +{ + delete [] resourceEvent; +} + void FetchSeqUnit::init() { |