diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-02-28 17:07:16 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-03-20 16:33:47 +0800 |
commit | e8314a1b29c7fcb77a3944463ae3197d71a5d918 (patch) | |
tree | f6c29cb31023e7a7cf5200b1b2fa2fdf4e54ce34 /src/cpu/base_dyn_inst_impl.hh | |
parent | e9434cff87762255bc055e04a2695e70a53c41a2 (diff) | |
download | gem5-e8314a1b29c7fcb77a3944463ae3197d71a5d918.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 b499fe4e6..d7b3d562c 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; } |