Skip to content
Snippets Groups Projects
Commit fb0c6066 authored by Adam Edward Barton's avatar Adam Edward Barton :speech_balloon:
Browse files

Fix a double delete problem in FastOnlineIDC

parent 00882526
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ void InternalOfflineFast::cleanUp(deleter_f* deleter) noexcept { ...@@ -77,7 +77,7 @@ void InternalOfflineFast::cleanUp(deleter_f* deleter) noexcept {
} }
else { else {
for(size_t i=0 ;i < m_fullMap.size(); ++i){ for(size_t i=0 ;i < m_fullMap.size(); ++i){
if(m_fullMap[i]) deleter(m_fullMap[i]); if(m_fullMap[i]) { deleter(m_fullMap[i]); m_fullMap[i] = nullptr; }
} }
} }
m_map.clear(); m_map.clear();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment