mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +03:00
Fix: double free for pFile
This commit is contained in:
parent
ac386fb1e3
commit
b51ca11c39
@ -465,14 +465,10 @@ void CWorld::__MAKE_VHOOK(Spawn)(void)
|
||||
#endif // REGAMEDLL_FIXES
|
||||
|
||||
PRECACHE_GENERIC(UTIL_VarArgs("maps/default.txt"));
|
||||
FREE_FILE(pFile);
|
||||
}
|
||||
|
||||
if (pFile != NULL)
|
||||
{
|
||||
FREE_FILE(pFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* <1dac06> ../cstrike/dlls/world.cpp:542 */
|
||||
|
Loading…
Reference in New Issue
Block a user