summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/kit/shared_memory.win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/kit/shared_memory.win32.c b/source/kit/shared_memory.win32.c
index b13308f..9ea3b5c 100644
--- a/source/kit/shared_memory.win32.c
+++ b/source/kit/shared_memory.win32.c
@@ -70,7 +70,7 @@ kit_shared_memory_t kit_shared_memory_open(kit_str_t name, i64 size,
kit_status_t kit_shared_memory_close(kit_shared_memory_t *mem) {
assert(mem != NULL);
- UnmapViewOfFile(mem.bytes);
- CloseHandle(mem._handle);
+ UnmapViewOfFile(mem->bytes);
+ CloseHandle(mem->_handle);
}
#endif