summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem/ruby/system/Sequencer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc
index 5eacc976a..606dff0ab 100644
--- a/src/mem/ruby/system/Sequencer.cc
+++ b/src/mem/ruby/system/Sequencer.cc
@@ -560,6 +560,8 @@ Sequencer::hitCallback(SequencerRequest* srequest,
delete srequest;
if (g_system_ptr->m_warmup_enabled) {
+ assert(pkt->req);
+ delete pkt->req;
delete pkt;
g_system_ptr->m_cache_recorder->enqueueNextFetchRequest();
} else if (g_system_ptr->m_cooldown_enabled) {