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.
This commit is contained in:
Joel Hestness 2015-09-29 09:25:29 -05:00
parent 395b31f518
commit 501705eaf0

View file

@ -527,6 +527,8 @@ RubyMemoryControl::issueRequest(int bank)
m_busBusyCounter_Write = m_basic_bus_busy_time; m_busBusyCounter_Write = m_basic_bus_busy_time;
m_busBusyCounter_ReadNewRank = 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 // executeCycle: This function is called once per memory clock cycle