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:
skidau 2010-05-12 12:13:07 +00:00
parent e7099251ce
commit b9d5168388

View File

@ -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.