summaryrefslogtreecommitdiff
path: root/src/mem/simple_mem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/simple_mem.cc')
-rw-r--r--src/mem/simple_mem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/simple_mem.cc b/src/mem/simple_mem.cc
index d3a53a26f..7dd0fd101 100644
--- a/src/mem/simple_mem.cc
+++ b/src/mem/simple_mem.cc
@@ -154,7 +154,7 @@ SimpleMemory::recvTimingReq(PacketPtr pkt)
assert(pkt->isResponse());
port.schedTimingResp(pkt, curTick() + latency);
} else {
- delete pkt;
+ pendingDelete.push_back(pkt);
}
return true;