summaryrefslogtreecommitdiff
path: root/src/login/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/login.c')
-rw-r--r--src/login/login.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c
index a0a34f36d..78c77ab18 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -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");