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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 4e6842b97..8f9e5ed81 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2794,6 +2794,7 @@ static int npc_cleanup_sub (struct block_list *bl, va_list ap) {
}
static int npc_cleanup_dbsub(DBKey key,void * data,va_list app) {
+ map_deliddb((struct block_list*)data);
return npc_cleanup_sub((struct block_list*)data, 0);
}