Browse Source

unmap correct handle

pull/1541/head
Anatol Belski 11 years ago
parent
commit
afe04911a7
  1. 2
      TSRM/tsrm_win32.c

2
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;

Loading…
Cancel
Save