fixed another buffer overflow in config parser
fixed memory leak in translation fixed bots don't shoot through walls fixed bots don't buy anything, if server issues sv_restart 1 fixed inability to kick bot's, when playing on Xash3D engine
This commit is contained in:
parent
d75d5bad44
commit
2b005a6a98
6 changed files with 29 additions and 16 deletions
|
|
@ -289,6 +289,14 @@ void FreeLibraryMemory (void)
|
|||
// this function free's all allocated memory
|
||||
g_waypoint->Init (); // frees waypoint data
|
||||
|
||||
IterateArray (g_localizer->m_langTab, it)
|
||||
{
|
||||
delete[] g_localizer->m_langTab[it].original;
|
||||
delete[] g_localizer->m_langTab[it].translated;
|
||||
}
|
||||
g_localizer->m_langTab.RemoveAll ();
|
||||
|
||||
|
||||
delete [] g_experienceData;
|
||||
g_experienceData = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue