diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2023-11-16 17:52:21 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-16 17:52:21 -0300 |
| commit | 82a638230e4b10c099d8517b8ef7b602f22a6887 (patch) | |
| tree | a28de2d911b5d9f5c51b6ccf065dbfdd8859781e /src/ARMeilleure/Translation/Cache/JitUnwindWindows.cs | |
| parent | d11fe26aa319b352112c434167e5c43f7b6ee636 (diff) | |
Fix JitCache.Unmap called with the same address freeing memory in use (#5937)
Diffstat (limited to 'src/ARMeilleure/Translation/Cache/JitUnwindWindows.cs')
| -rw-r--r-- | src/ARMeilleure/Translation/Cache/JitUnwindWindows.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ARMeilleure/Translation/Cache/JitUnwindWindows.cs b/src/ARMeilleure/Translation/Cache/JitUnwindWindows.cs index 91fd19c2..3957a755 100644 --- a/src/ARMeilleure/Translation/Cache/JitUnwindWindows.cs +++ b/src/ARMeilleure/Translation/Cache/JitUnwindWindows.cs @@ -95,7 +95,7 @@ namespace ARMeilleure.Translation.Cache { int offset = (int)((long)controlPc - context.ToInt64()); - if (!JitCache.TryFind(offset, out CacheEntry funcEntry)) + if (!JitCache.TryFind(offset, out CacheEntry funcEntry, out _)) { return null; // Not found. } |
