diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-10 07:10:14 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-06 01:40:51 +0200 |
commit | b6156e735cd78d4b7863491ae6bdc63e44404b73 (patch) | |
tree | e1ec7753ea7c86223135e2f51b1b1f649af48b90 /src/core/hle/kernel/k_slab_heap.h | |
parent | hle: kernel: Ensure all kernel objects with KAutoObject are properly created. (diff) | |
download | yuzu-b6156e735cd78d4b7863491ae6bdc63e44404b73.tar yuzu-b6156e735cd78d4b7863491ae6bdc63e44404b73.tar.gz yuzu-b6156e735cd78d4b7863491ae6bdc63e44404b73.tar.bz2 yuzu-b6156e735cd78d4b7863491ae6bdc63e44404b73.tar.lz yuzu-b6156e735cd78d4b7863491ae6bdc63e44404b73.tar.xz yuzu-b6156e735cd78d4b7863491ae6bdc63e44404b73.tar.zst yuzu-b6156e735cd78d4b7863491ae6bdc63e44404b73.zip |
Diffstat (limited to 'src/core/hle/kernel/k_slab_heap.h')
-rw-r--r-- | src/core/hle/kernel/k_slab_heap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_slab_heap.h b/src/core/hle/kernel/k_slab_heap.h index a3948cd27..5ce9a1d7c 100644 --- a/src/core/hle/kernel/k_slab_heap.h +++ b/src/core/hle/kernel/k_slab_heap.h @@ -97,6 +97,7 @@ public: void FreeImpl(void* obj) { // Don't allow freeing an object that wasn't allocated from this heap ASSERT(Contains(reinterpret_cast<uintptr_t>(obj))); + impl.Free(obj); } |