2
0
mirror of https://github.com/s1lentq/ReGameDLL_CS.git synced 2025-05-29 06:57:35 +03:00

Fix: double free for pFile

This commit is contained in:
s1lentq 2016-01-20 05:48:46 +06:00
parent ac386fb1e3
commit b51ca11c39

@ -465,13 +465,9 @@ 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);
}
FREE_FILE(pFile);
}
}