diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
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; |