server: Fix leak of async handle in pipe_server_flush.
This commit is contained in:
parent
51e77324dd
commit
b3fb5992b6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue