summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-07 16:01:20 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-07 16:01:20 +0000
commit41ca5bd82328576e84d19923b5cfda6d7b218e9f (patch)
tree70336a3f3541630903a9a42c5834f1b5901c1462 /src/map/pc.c
parentec11a6a46dcb98508758d0fb96d18194f28450c5 (diff)
downloadhercules-41ca5bd82328576e84d19923b5cfda6d7b218e9f.tar.gz
hercules-41ca5bd82328576e84d19923b5cfda6d7b218e9f.tar.bz2
hercules-41ca5bd82328576e84d19923b5cfda6d7b218e9f.tar.xz
hercules-41ca5bd82328576e84d19923b5cfda6d7b218e9f.zip
Replaced some free's with aFree
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1208 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 282aa79c4..866ef969c 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5849,7 +5849,7 @@ int pc_deleventtimer(struct map_session_data *sd,const char *name)
delete_timer(sd->eventtimer[i],pc_eventtimer);
sd->eventtimer[i]=-1;
sd->eventcount--;
- free(p);
+ aFree(p);
break;
}
}
@@ -5895,7 +5895,7 @@ int pc_cleareventtimer(struct map_session_data *sd)
char *p = (char *)(get_timer(sd->eventtimer[i])->data);
delete_timer(sd->eventtimer[i],pc_eventtimer);
sd->eventtimer[i]=-1;
- free(p);
+ aFree(p);
}
return 0;