Fixed crash when TF2 extension couldn't load.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402467
This commit is contained in:
David Anderson 2008-08-23 09:46:52 +00:00
parent edb7b49c25
commit 9b03490b1a

View File

@ -186,6 +186,11 @@ void CForwardManager::ReleaseForward(IForward *forward)
void CForwardManager::ForwardFree(CForward *fwd)
{
if (fwd == NULL)
{
return;
}
m_FreeForwards.push(fwd);
m_managed.remove(fwd);
}