diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-15 15:20:18 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-15 15:20:18 +0200 |
commit | 2742713e53440e7bdb61e554c3f0fca70513033a (patch) | |
tree | d6d33548e0c6af513559d67af55c50f3ee538522 /source | |
parent | fb6c9ff7f21e46edf8a7d72cc77769966a3f6a05 (diff) | |
download | kit-2742713e53440e7bdb61e554c3f0fca70513033a.zip |
shared_memory: fix
Diffstat (limited to 'source')
-rw-r--r-- | source/kit/shared_memory.win32.c | 4 |
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 |