Please sign in to comment.
mem: Fix memory leak in SimpleDRAM
SimpleDRAM currently does not deallocate packets that don't need a response. This changeset adds deallocation in SimpleDRAM::accessAndRespond if a packet does not need a response. Additionally, it makes the pkt field in DRAMPacket non-const to allow setting it to NULL when deallocating packets from a write request.
- Loading branch information...
Showing with 4 additions and 1 deletion.