Commit a3192632 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Don't access the process after send_client_fd as it may have been killed.

parent 41fbacef
......@@ -1979,11 +1979,11 @@ DECL_HANDLER(get_handle_fd)
int unix_fd = get_unix_fd( fd );
if (unix_fd != -1)
{
send_client_fd( current->process, unix_fd, req->handle );
reply->type = fd->fd_ops->get_fd_type( fd );
reply->removable = is_fd_removable(fd);
reply->options = fd->options;
reply->access = get_handle_access( current->process, req->handle );
send_client_fd( current->process, unix_fd, req->handle );
}
release_object( fd );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment