mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06: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:
@ -64,7 +64,7 @@ void TrampolineCache::Init()
|
|||||||
|
|
||||||
void TrampolineCache::Shutdown()
|
void TrampolineCache::Shutdown()
|
||||||
{
|
{
|
||||||
AllocCodeSpace(1024 * 1024);
|
FreeCodeSpace();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extremely simplistic - just generate the requested trampoline. May reuse them in the future.
|
// Extremely simplistic - just generate the requested trampoline. May reuse them in the future.
|
||||||
|
Reference in New Issue
Block a user