diff --git a/checkin_notes b/checkin_notes index 441b0a7ca2..d6cd5dacc2 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/clientgui/BOINCInternetFSHandler.cpp b/clientgui/BOINCInternetFSHandler.cpp index f3fb2504d4..be002730b4 100755 --- a/clientgui/BOINCInternetFSHandler.cpp +++ b/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;