summaryrefslogtreecommitdiff
path: root/arm9/src/itemtool.c
diff options
context:
space:
mode:
authorRémi Calixte <remicalixte.rmc@gmail.com>2021-05-22 18:54:22 +0200
committerRémi Calixte <remicalixte.rmc@gmail.com>2021-05-22 18:54:22 +0200
commit15896c5a165d9d8bcfd02e3617e3ab7f10602b5f (patch)
treecfc589be7590138df572e951a3b414ef4ce8a8f0 /arm9/src/itemtool.c
parent595b90d91c903837b4b0199159a2dece90ea4dee (diff)
parent1e7dcfbf615f387c3b4a8a7577ff36dd57922f60 (diff)
Merge branch 'master' into unk_02016B94
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;
}