diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-02-28 17:07:16 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-03-20 17:32:12 +0800 |
commit | 32986563546481d9ac17280cd0aadb39b87b9817 (patch) | |
tree | a3acaa4ffdd3764d92dda1973e996ca9f6a09b76 /src/cpu/base_dyn_inst_impl.hh | |
parent | 0c50a0b4fe3956f9d2e08e75d47c9cbd79bf0268 (diff) | |
download | gem5-32986563546481d9ac17280cd0aadb39b87b9817.tar.xz |
invisispec-1.0 source
Diffstat (limited to 'src/cpu/base_dyn_inst_impl.hh')
-rw-r--r-- | src/cpu/base_dyn_inst_impl.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/base_dyn_inst_impl.hh b/src/cpu/base_dyn_inst_impl.hh index f638f754c..7220bcd95 100644 --- a/src/cpu/base_dyn_inst_impl.hh +++ b/src/cpu/base_dyn_inst_impl.hh @@ -87,6 +87,7 @@ void BaseDynInst<Impl>::initVars() { memData = NULL; + vldData = NULL; effAddr = 0; physEffAddrLow = 0; physEffAddrHigh = 0; @@ -140,6 +141,10 @@ BaseDynInst<Impl>::~BaseDynInst() delete [] memData; } + if (vldData) { + delete [] vldData; + } + if (traceData) { delete traceData; } |