mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
Fixing heap frees.
This commit is contained in:
parent
52060af847
commit
53527bef17
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ void Memory::SystemHeapFree(uint32_t address) {
|
|||
return;
|
||||
}
|
||||
// TODO(benvanik): lightweight pool.
|
||||
auto heap = LookupHeapByType(false, 4096);
|
||||
auto heap = LookupHeap(address);
|
||||
heap->Release(address);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue