mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-05-17 17:18:01 +03:00
shared: Do not leak activity remap (scripts/actremap.txt) KeyValues (found by random KV allocations review)
This commit is contained in:
parent
a70e797ea5
commit
ebe866322d
@ -2607,7 +2607,7 @@ void UTIL_LoadActivityRemapFile( const char *filename, const char *section, CUtl
|
||||
return;
|
||||
}
|
||||
|
||||
KeyValues *pkvFile = new KeyValues( section );
|
||||
KeyValuesAD pkvFile( section );
|
||||
|
||||
if ( pkvFile->LoadFromFile( filesystem, filename, NULL ) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user