summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 2f908cecf..f3b0562e8 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1837,6 +1837,7 @@ int unit_free(struct block_list *bl, int clrtype) {
intif_homunculus_requestdelete(hd->homunculus.hom_id);
if (sd) sd->status.hom_id = 0;
}
+ aFree(hd); // Remember to free it! [Lance]
if(sd) sd->hd = NULL;
}