Fixed unload crash with tf2 extension.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402391
This commit is contained in:
Matt Woodrow 2008-07-09 02:03:13 +00:00
parent 80fdbcf8c7
commit 81632dda97

View File

@ -251,7 +251,7 @@ void CDetour::DeleteDetour()
if (detour_callback)
{
/* Free the gate */
spengine->ExecFree(detour_callback);
spengine->FreePageMemory(detour_callback);
detour_callback = NULL;
}
}