82d81
< delete pkt->req;
136d134
< delete state->mainPkt->req;
834,836c832,834
< RequestPtr req = storeQueue[storeWBIdx].req;
< RequestPtr sreqLow = storeQueue[storeWBIdx].sreqLow;
< RequestPtr sreqHigh = storeQueue[storeWBIdx].sreqHigh;
---
> RequestPtr &req = storeQueue[storeWBIdx].req;
> const RequestPtr &sreqLow = storeQueue[storeWBIdx].sreqLow;
> const RequestPtr &sreqHigh = storeQueue[storeWBIdx].sreqHigh;
877d874
< delete req;
926,927d922
< delete sreqLow;
< delete sreqHigh;
930d924
< delete req;
1064c1058
< delete storeQueue[store_idx].req;
---
> storeQueue[store_idx].req.reset();
1066,1070c1060,1061
< delete storeQueue[store_idx].sreqLow;
< delete storeQueue[store_idx].sreqHigh;
<
< storeQueue[store_idx].sreqLow = NULL;
< storeQueue[store_idx].sreqHigh = NULL;
---
> storeQueue[store_idx].sreqLow.reset();
> storeQueue[store_idx].sreqHigh.reset();
1073d1063
< storeQueue[store_idx].req = NULL;