~Gem5Controller() should delete it's MemoryManager object
This commit is contained in:
@ -30,6 +30,7 @@ Gem5Controller::~Gem5Controller()
|
|||||||
delete *it;
|
delete *it;
|
||||||
it = m_CPUs.erase(it);
|
it = m_CPUs.erase(it);
|
||||||
}
|
}
|
||||||
|
delete m_Mem;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Gem5Controller::save(const std::string &path)
|
bool Gem5Controller::save(const std::string &path)
|
||||||
|
|||||||
Reference in New Issue
Block a user