mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
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
Block a user