diff options
Diffstat (limited to 'src/dev/x86/intdev.cc')
-rw-r--r-- | src/dev/x86/intdev.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/dev/x86/intdev.cc b/src/dev/x86/intdev.cc index 5bc6065f5..0d392d5ee 100644 --- a/src/dev/x86/intdev.cc +++ b/src/dev/x86/intdev.cc @@ -37,10 +37,14 @@ X86ISA::IntDev::IntPort::sendMessage(ApicList apics, ApicList::iterator apicIt; for (apicIt = apics.begin(); apicIt != apics.end(); apicIt++) { PacketPtr pkt = buildIntRequest(*apicIt, message); - if (timing) + if (timing) { sendMessageTiming(pkt, latency); - else + // The target handles cleaning up the packet in timing mode. + } else { sendMessageAtomic(pkt); + delete pkt->req; + delete pkt; + } } } |