mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
fix address sanitizer issues #2
This commit is contained in:
@@ -473,11 +473,11 @@ CPackedStore::~CPackedStore( void )
|
||||
}
|
||||
|
||||
// Free the FindFirst cache data
|
||||
m_directoryList.PurgeAndDeleteElements();
|
||||
m_directoryList.PurgeAndDeleteElementsArray();
|
||||
|
||||
FOR_EACH_MAP( m_dirContents, i )
|
||||
{
|
||||
m_dirContents[i]->PurgeAndDeleteElements();
|
||||
m_dirContents[i]->PurgeAndDeleteElementsArray();
|
||||
delete m_dirContents[i];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user