Commit a31f4df9 authored by Charlie Fenton's avatar Charlie Fenton Committed by Oliver Bock

Mgr: When removing entries from our hash table, delete data to avoid memory leaks

parent 7cdb3a70
......@@ -7855,3 +7855,9 @@ David 21 Dec 2012
sched/
edf_sim.cpp
sched_send.cpp,h
Charlie 22 Dec 2012
- Mgr: When removing entries from our hash table, delete data to avoid memory
leaks.
clientgui/
BOINCInternetFSHandler.cpp
......@@ -631,7 +631,7 @@ void CBOINCInternetFSHandler::UnchacheMissingItems() {
// We must get next node before deleting this one
node = m_Hash->Next();
if (obj->m_Len == 0) {
m_Hash->Delete(obj->m_Key);
delete m_Hash->Delete(obj->m_Key);
}
}
m_bMissingItems = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment