Fix mappedMemoryFree on *nix
Jeffrey Pfau jeffrey@endrift.com
Wed, 15 Jan 2014 00:34:45 -0800
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/util/memory.c
→
src/util/memory.c
@@ -44,6 +44,6 @@ return mmap(0, size, PROT_READ | PROT_WRITE, mmapFlags, fd, 0);
} void mappedMemoryFree(void* memory, size_t size) { - munmap(memory, memory); + munmap(memory, size); } -#endif+#endif