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:
parent
395b31f518
commit
501705eaf0
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue