diff --git a/src/game/client/tf/tf_autorp.cpp b/src/game/client/tf/tf_autorp.cpp index adb7b24f5..616e86913 100644 --- a/src/game/client/tf/tf_autorp.cpp +++ b/src/game/client/tf/tf_autorp.cpp @@ -35,7 +35,7 @@ void CTFAutoRP::ParseDataFile( void ) Assert( !m_pDataFileKV ); // Load & parse the word files - KeyValues *pFileKV = new KeyValues( "AutoRPFile" ); + KeyValuesAD pFileKV( "AutoRPFile" ); if ( pFileKV->LoadFromFile( filesystem, "scripts/autorp.txt", "MOD" ) == false ) return;