mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-12 19:18:20 +00:00
Close wordlist.txt file handle after use
This commit is contained in:
parent
d2045b5d78
commit
0a3c75b925
|
@ -99,6 +99,7 @@ CScore::CScore(CGameContext *pGameServer, CDbConnectionPool *pPool) :
|
||||||
aWord[31] = 0;
|
aWord[31] = 0;
|
||||||
m_aWordlist.push_back(aWord);
|
m_aWordlist.push_back(aWord);
|
||||||
}
|
}
|
||||||
|
io_close(File);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue