summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index c65997d39..ea5e17502 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1300,7 +1300,7 @@ int npc_unload(struct npc_data* nd)
#endif
if( nd->bl.subtype == SHOP )
- free(nd->u.shop.shop_item);
+ aFree(nd->u.shop.shop_item);
else
if( nd->bl.subtype == SCRIPT )
{