Add comment to note that pStk actually gets deleted.
This commit is contained in:
parent
5893737321
commit
4db1280c59
@ -1265,6 +1265,8 @@ void PlayerManager::OnClientCommandKeyValues(edict_t *pEntity, KeyValues *pComma
|
||||
m_bInCCKVHook = false;
|
||||
|
||||
HandleSecurity sec(g_pCoreIdent, g_pCoreIdent);
|
||||
|
||||
// Deletes pStk
|
||||
handlesys->FreeHandle(hndl, &sec);
|
||||
|
||||
if (res >= Pl_Handled)
|
||||
@ -1308,6 +1310,8 @@ void PlayerManager::OnClientCommandKeyValues_Post(edict_t *pEntity, KeyValues *p
|
||||
m_bInCCKVHook = false;
|
||||
|
||||
HandleSecurity sec(g_pCoreIdent, g_pCoreIdent);
|
||||
|
||||
// Deletes pStk
|
||||
handlesys->FreeHandle(hndl, &sec);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user