mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2026-01-25 08:42:36 +01:00
shared: Do not leak GameState (GameState.txt) KeyValues in achievement manager
This commit is contained in:
committed by
EricS-Valve
parent
f824c74768
commit
a70e797ea5
@@ -801,7 +801,7 @@ void CAchievementMgr::LoadGlobalState()
|
||||
// HPE_END
|
||||
//=============================================================================
|
||||
|
||||
KeyValues *pKV = new KeyValues("GameState" );
|
||||
KeyValuesAD pKV("GameState" );
|
||||
if ( pKV->LoadFromFile( filesystem, szFilename, "MOD" ) )
|
||||
{
|
||||
KeyValues *pNode = pKV->GetFirstSubKey();
|
||||
|
||||
Reference in New Issue
Block a user