summaryrefslogtreecommitdiff
path: root/src/char_sql/int_quest.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-14 15:01:04 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-14 15:01:04 +0000
commit9ed480bc0d17a069cd8430d3ccf2d5893c5c07ac (patch)
tree6f7424ccf45c136a23009b9f5150f0c5af155947 /src/char_sql/int_quest.c
parent17e51850eb7db6931d2cf2c01a249d12e56eaa71 (diff)
downloadhercules-9ed480bc0d17a069cd8430d3ccf2d5893c5c07ac.tar.gz
hercules-9ed480bc0d17a069cd8430d3ccf2d5893c5c07ac.tar.bz2
hercules-9ed480bc0d17a069cd8430d3ccf2d5893c5c07ac.tar.xz
hercules-9ed480bc0d17a069cd8430d3ccf2d5893c5c07ac.zip
Fixed a memory leak in mapif_quests_fromsql
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12592 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_quest.c')
-rw-r--r--src/char_sql/int_quest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/char_sql/int_quest.c b/src/char_sql/int_quest.c
index 86ebccdae..e198754f6 100644
--- a/src/char_sql/int_quest.c
+++ b/src/char_sql/int_quest.c
@@ -69,8 +69,7 @@ int mapif_quests_fromsql(int char_id, struct quest questlog[])
questlog[i].num_objectives = j;
}
-
-
+ SqlStmt_Free(stmt);
return count;
}