ruby: RubyPort delete snoop requests
authorJoel Hestness <jthestness@gmail.com>
Tue, 29 Sep 2015 14:28:25 +0000 (09:28 -0500)
committerJoel Hestness <jthestness@gmail.com>
Tue, 29 Sep 2015 14:28:25 +0000 (09:28 -0500)
commitb80024ee7dc1dd424ce2dd907e7b7e3a902e0bb2
tree0468c1f3a85cb733b36a95389f38b6548aba479e
parent7b70fa02aef5d38d1d5b583193cb1577f050d937
ruby: RubyPort delete snoop requests

In RubyPort::ruby_eviction_callback, prior changes fixed a memory leak caused
by instantiating separate packets for each port that the eviction was forwarded
to. That change, however, left the instantiated request to also leak. Allocate
it on the stack to avoid the leak.
src/mem/ruby/system/RubyPort.cc