mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Fixed a memory leak in the TrampolineCache. Occurs when stopping a game.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5446 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e7099251ce
commit
b9d5168388
@ -64,7 +64,7 @@ void TrampolineCache::Init()
|
||||
|
||||
void TrampolineCache::Shutdown()
|
||||
{
|
||||
AllocCodeSpace(1024 * 1024);
|
||||
FreeCodeSpace();
|
||||
}
|
||||
|
||||
// Extremely simplistic - just generate the requested trampoline. May reuse them in the future.
|
||||
|
Loading…
x
Reference in New Issue
Block a user