diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index 42a72946466..98ed806c714 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -623,7 +623,7 @@ TSRM_API int shmget(int key, int size, int flags) shm = shm_get(key, NULL); if (!shm) { UnmapViewOfFile(shm_handle); - UnmapViewOfFile(shm_handle); + UnmapViewOfFile(info_handle); return -1; } shm->segment = shm_handle;