diff options
Diffstat (limited to 'Source/Core/Common/Src/MemoryUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/MemoryUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/MemoryUtil.cpp b/Source/Core/Common/Src/MemoryUtil.cpp index 39e550452e..23f8457dec 100644 --- a/Source/Core/Common/Src/MemoryUtil.cpp +++ b/Source/Core/Common/Src/MemoryUtil.cpp @@ -102,7 +102,7 @@ void* AllocateMemoryPages(int size) void FreeMemoryPages(void* ptr, int size)
{
#ifdef _WIN32
- VirtualFree(ptr, size, MEM_RELEASE);
+ VirtualFree(ptr, 0, MEM_RELEASE);
#else
munmap(ptr, size);
#endif
|
