FakeClients: memleak when?!
This commit is contained in:
parent
4da7fddcb2
commit
ae5fc00030
@ -87,6 +87,7 @@ public void OnMapStart()
|
|||||||
if(hFile != INVALID_HANDLE)
|
if(hFile != INVALID_HANDLE)
|
||||||
{
|
{
|
||||||
int iLine = 0;
|
int iLine = 0;
|
||||||
|
g_hNames.Clear();
|
||||||
while (!IsEndOfFile(hFile))
|
while (!IsEndOfFile(hFile))
|
||||||
{
|
{
|
||||||
if (!ReadFileLine(hFile, sLine, sizeof(sLine)) || iLine >= MAXNAMES)
|
if (!ReadFileLine(hFile, sLine, sizeof(sLine)) || iLine >= MAXNAMES)
|
||||||
|
Loading…
Reference in New Issue
Block a user