From 2742713e53440e7bdb61e554c3f0fca70513033a Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Fri, 15 Sep 2023 15:20:18 +0200 Subject: shared_memory: fix --- source/kit/shared_memory.win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') 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 -- cgit v1.2.3