mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
unmap correct handle
This commit is contained in:
parent
a490485893
commit
afe04911a7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue