diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-21 16:04:50 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-21 16:04:50 +0000 |
commit | e64992e9fddb211c43f72e0644a6c0b1b0a07a76 (patch) | |
tree | 6e4ae01c7c733201a35d50de90860badf657d589 /src/map/skill.c | |
parent | b8e86044ea41feb23de00bd36b45b80d9837425f (diff) | |
download | hercules-e64992e9fddb211c43f72e0644a6c0b1b0a07a76.tar.gz hercules-e64992e9fddb211c43f72e0644a6c0b1b0a07a76.tar.bz2 hercules-e64992e9fddb211c43f72e0644a6c0b1b0a07a76.tar.xz hercules-e64992e9fddb211c43f72e0644a6c0b1b0a07a76.zip |
- Added back a map_freeblock call in skill_delunitgroup which caused a memory leak @.@...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7803 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 34047b582..45eebf558 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -9790,6 +9790,7 @@ int skill_delunitgroup (struct block_list *src, struct skill_unit_group *group) group->valstr=NULL; } + map_freeblock((struct block_list*)group->unit); group->unit=NULL; group->group_id=0; group->unit_count=0; |