diff options
author | Joel Hestness <jthestness@gmail.com> | 2015-09-29 09:25:29 -0500 |
---|---|---|
committer | Joel Hestness <jthestness@gmail.com> | 2015-09-29 09:25:29 -0500 |
commit | 501705eaf0612ead7a1f4216d10158dd09eca017 (patch) | |
tree | 8c115bf5df613d149c764ac6061940f7f0cee9b2 /src/mem/ruby | |
parent | 395b31f518f6d5f4be3c57ae47762ad4597b0247 (diff) | |
download | gem5-501705eaf0612ead7a1f4216d10158dd09eca017.tar.xz |
ruby: RubyMemoryControl delete requests
Changes to the RubyMemoryControl removed the dequeue function, which deleted
MemoryNode instances. This results in leaked MemoryNode instances. Correctly
delete these instances.
Diffstat (limited to 'src/mem/ruby')
-rw-r--r-- | src/mem/ruby/structures/RubyMemoryControl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/ruby/structures/RubyMemoryControl.cc b/src/mem/ruby/structures/RubyMemoryControl.cc index 452606451..5feb9348b 100644 --- a/src/mem/ruby/structures/RubyMemoryControl.cc +++ b/src/mem/ruby/structures/RubyMemoryControl.cc @@ -527,6 +527,8 @@ RubyMemoryControl::issueRequest(int bank) m_busBusyCounter_Write = m_basic_bus_busy_time; m_busBusyCounter_ReadNewRank = m_basic_bus_busy_time; } + + delete req; } // executeCycle: This function is called once per memory clock cycle |