webservices: Set event handles to NULL on error.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a808821d72
commit
de139491f6
|
@ -166,8 +166,11 @@ static HRESULT start_queue( struct queue *queue )
|
|||
|
||||
error:
|
||||
CloseHandle( queue->wait );
|
||||
queue->wait = NULL;
|
||||
CloseHandle( queue->cancel );
|
||||
queue->cancel = NULL;
|
||||
CloseHandle( queue->ready );
|
||||
queue->ready = NULL;
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue