- Fixed my fix on multi-map leak thanks to Buuyo^.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5865 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
8f76fb4c7b
commit
863806c1e4
@ -3588,10 +3588,9 @@ int log_sql_init(void){
|
|||||||
|
|
||||||
int map_db_final(DBKey k,void *d,va_list ap)
|
int map_db_final(DBKey k,void *d,va_list ap)
|
||||||
{
|
{
|
||||||
// Not needed actually, these are already freed. [Lance]
|
struct map_data_other_server *mdos = (struct map_data_other_server*)d;
|
||||||
//struct map_data_other_server *mdos = (struct map_data_other_server*)d;
|
if(mdos && mdos->gat == NULL)
|
||||||
//if(mdos->gat == NULL)
|
aFree(mdos);
|
||||||
// aFree(mdos);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
int nick_db_final(void *k,void *d,va_list ap)
|
int nick_db_final(void *k,void *d,va_list ap)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user