diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/JitBackpatch.cpp b/Source/Core/Core/Src/PowerPC/JitCommon/JitBackpatch.cpp index 8cb7cb1ee4..3b6519260c 100644 --- a/Source/Core/Core/Src/PowerPC/JitCommon/JitBackpatch.cpp +++ b/Source/Core/Core/Src/PowerPC/JitCommon/JitBackpatch.cpp @@ -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.