summaryrefslogtreecommitdiff
path: root/arm9/src/itemtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/src/itemtool.c')
-rw-r--r--arm9/src/itemtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm9/src/itemtool.c b/arm9/src/itemtool.c
index 6b892d6d..9982ff40 100644
--- a/arm9/src/itemtool.c
+++ b/arm9/src/itemtool.c
@@ -778,7 +778,7 @@ u32 GetItemAttr(u16 item, u32 attr, u32 heap_id)
u32 ret;
struct ItemData * itemData = (struct ItemData *)LoadItemDataOrGfx(item, 0, heap_id);
ret = GetItemAttr_PreloadedItemData(itemData, attr);
- FUN_02016A8C(heap_id, itemData);
+ FreeToHeapExplicit(heap_id, itemData);
return ret;
}