ConvertToGlobalHandle: fixed handle leak.

This commit is contained in:
Alexandre Julliard 2000-06-14 21:17:56 +00:00 committed by Alexandre Julliard
parent 790743c8f6
commit 6d96e30171
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ HANDLE WINAPI ConvertToGlobalHandle(HANDLE hSrc)
req->dst_process = -1; req->dst_process = -1;
req->access = 0; req->access = 0;
req->inherit = FALSE; req->inherit = FALSE;
req->options = DUP_HANDLE_MAKE_GLOBAL | DUP_HANDLE_SAME_ACCESS; req->options = DUP_HANDLE_MAKE_GLOBAL | DUP_HANDLE_SAME_ACCESS | DUP_HANDLE_CLOSE_SOURCE;
server_call( REQ_DUP_HANDLE ); server_call( REQ_DUP_HANDLE );
return req->handle; return req->handle;