Fixed a memory leak in mapif_quests_fromsql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12592 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -69,8 +69,7 @@ int mapif_quests_fromsql(int char_id, struct quest questlog[])
|
||||
questlog[i].num_objectives = j;
|
||||
|
||||
}
|
||||
|
||||
|
||||
SqlStmt_Free(stmt);
|
||||
return count;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,4 +9,5 @@ struct quest;
|
||||
|
||||
int inter_quest_parse_frommap(int fd);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user