Commit fea59c87 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

server: set_server_state needs to be called with non-NULL server.

Spotted by Coverity.
parent 0a5e707a
......@@ -739,7 +739,7 @@ static struct pipe_server *create_pipe_server( struct named_pipe *pipe, unsigned
if (!(server->ioctl_fd = alloc_pseudo_fd( &pipe_server_fd_ops, &server->obj, options )))
{
release_object( server );
server = NULL;
return NULL;
}
set_server_state( server, ps_idle_server );
return server;
......
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