Fix mappedMemoryFree on *nix

This commit is contained in:
Jeffrey Pfau 2014-01-15 00:34:45 -08:00
parent dd1f1bc79e
commit 270c1a35d7
1 changed files with 2 additions and 2 deletions

View File

@ -44,6 +44,6 @@ void* fileMemoryMap(int fd, size_t size, int flags) {
}
void mappedMemoryFree(void* memory, size_t size) {
munmap(memory, memory);
munmap(memory, size);
}
#endif