summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r--crawl-ref/source/debug.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index 72c2e356a6..55a6068257 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -5545,6 +5545,7 @@ void wizard_give_monster_item(monsters *mon)
mon->equip(mitm[old_eq], mon_slot, 1);
}
unlink_item(index);
+ destroy_item(item);
return;
}