Move the packet deallocations in the O3 CPU so that the completeDataAccess
deals only with the LSQ specific parts and the generic recvTimingResp frees the
packet in all other cases.
DPRINTF(LSQ, "Got error packet back for address: %#X\n",
pkt->getAddr());
thread[pkt->req->threadId()].completeDataAccess(pkt);
+ delete pkt->req;
+ delete pkt;
return true;
}
DPRINTF(IEW, "[sn:%lli]: Response from first half of earlier "
"blocked split load recieved. Ignoring.\n", inst->seqNum);
delete state;
- delete pkt->req;
- delete pkt;
return;
}
// If this is a split access, wait until all packets are received.
if (TheISA::HasUnalignedMemAcc && !state->complete()) {
- delete pkt->req;
- delete pkt;
return;
}
cpu->ppDataAccessComplete->notify(std::make_pair(inst, pkt));
delete state;
- delete pkt->req;
- delete pkt;
}
template <class Impl>