summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-01 19:44:37 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-01 19:44:37 +0000
commit094168fde61dd27a21b9bf91c162a8de6d37c58c (patch)
tree092c53703515623de7be794542ba5aeca8c30945 /src/login_sql
parent7564712d7fc9d13890011fdd22215e9ff912e1a4 (diff)
downloadhercules-094168fde61dd27a21b9bf91c162a8de6d37c58c.tar.gz
hercules-094168fde61dd27a21b9bf91c162a8de6d37c58c.tar.bz2
hercules-094168fde61dd27a21b9bf91c162a8de6d37c58c.tar.xz
hercules-094168fde61dd27a21b9bf91c162a8de6d37c58c.zip
- Checked and fixed the script engine barking when you try to have a label with the same name as a const.txt defined parameter.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5415 54d463be-8e91-2dee-dedb-b68131a5f0ec
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);