diff -r ec3269993ca5 -r 2ea801a03fa5 src/mem/ruby/system/RubyPort.cc --- a/src/mem/ruby/system/RubyPort.cc Sun Apr 07 22:47:18 2013 -0500 +++ b/src/mem/ruby/system/RubyPort.cc Sun Apr 07 22:47:21 2013 -0500 @@ -497,13 +497,14 @@ { DPRINTF(RubyPort, "Sending invalidations.\n"); // should this really be using funcMasterId? - Request req(address.getAddress(), 0, 0, Request::funcMasterId); + RequestPtr req = + new Request(address.getAddress(), 0, 0, Request::funcMasterId); + Packet pkt(req, MemCmd::InvalidationReq); for (CpuPortIter p = slave_ports.begin(); p != slave_ports.end(); ++p) { // check if the connected master port is snooping if ((*p)->isSnooping()) { - Packet *pkt = new Packet(&req, MemCmd::InvalidationReq); // send as a snoop request - (*p)->sendTimingSnoopReq(pkt); + (*p)->sendTimingSnoopReq(&pkt); } } }