diff options
| author | fires.gc <fires.gc@gmail.com> | 2008-09-17 06:50:52 +0000 |
|---|---|---|
| committer | fires.gc <fires.gc@gmail.com> | 2008-09-17 06:50:52 +0000 |
| commit | 85993d02ad94b60d784e9708d3a5a9a527de01e5 (patch) | |
| tree | d00550b126b1220ea2495409b12be0273f803f33 /Source/Core/Common/Src/MemoryUtil.cpp | |
| parent | 5db23893747805432e062ce71ff4431c4d625850 (diff) | |
fixed small memory leaks of the windows version
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@549 8ced0084-cf51-0410-be5f-012b33b47a6e
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
|
