summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/login_sql')
-rw-r--r--src/login_sql/login.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index ba5b4dcc6..e2924b1de 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -237,10 +237,9 @@ void read_gm_account(void) {
gm_account_db[GM_num].level = atoi(sql_row[1]);
GM_num++;
}
+ mysql_free_result(sql_res);
}
}
-
- mysql_free_result(sql_res);
}
int charif_sendallwos(int sfd, unsigned char *buf, unsigned int len);