Added missing memory finalization for client_hash_nodes linked list.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16772 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
greenboxal2 2012-09-10 19:32:29 +00:00
parent 544f007ecc
commit 26800e12ff

View File

@ -1751,6 +1751,14 @@ static AccountDB* get_account_engine(void)
void do_final(void)
{
int i;
struct client_hash_node *hn = login_config.client_hash_nodes;
while (hn)
{
struct client_hash_node *tmp = hn;
hn = hn->next;
aFree(tmp);
}
login_log(0, "login server", 100, "login server shutdown");
ShowStatus("Terminating...\n");