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:
parent
544f007ecc
commit
26800e12ff
@ -1751,6 +1751,14 @@ static AccountDB* get_account_engine(void)
|
|||||||
void do_final(void)
|
void do_final(void)
|
||||||
{
|
{
|
||||||
int i;
|
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");
|
login_log(0, "login server", 100, "login server shutdown");
|
||||||
ShowStatus("Terminating...\n");
|
ShowStatus("Terminating...\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user