summaryrefslogtreecommitdiff
path: root/TSRM/tsrm_win32.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-09-22 21:20:50 +0200
committerAnatol Belski <ab@php.net>2015-09-22 21:20:50 +0200
commitafe04911a76c34b794fba5da869865a8de19d84e (patch)
treebd1a2a2e662449ef2f512e3bd0f633568fba0de3 /TSRM/tsrm_win32.c
parenta490485893182ad516d82092c62dfde43358cabd (diff)
downloadphp-git-afe04911a76c34b794fba5da869865a8de19d84e.tar.gz
unmap correct handle
Diffstat (limited to 'TSRM/tsrm_win32.c')
-rw-r--r--TSRM/tsrm_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c
index 42a7294646..98ed806c71 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;