Skip to content
Snippets Groups Projects
Commit b3fb5992 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard
Browse files

server: Fix leak of async handle in pipe_server_flush.

parent 51e77324
No related branches found
No related tags found
No related merge requests found
......@@ -563,6 +563,7 @@ static obj_handle_t pipe_server_flush( struct fd *fd, const async_data_t *async_
if (!server->flush_poll)
server->flush_poll = add_timeout_user( -TICKS_PER_SEC / 10, check_flushed, server );
if (blocking) handle = alloc_handle( current->process, async, SYNCHRONIZE, 0 );
release_object( async );
set_error( STATUS_PENDING );
}
return handle;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment