Hans Leidekker : webservices: Set event handles to NULL on error.
Module: wine Branch: master Commit: de139491f60db5799e5376cae2b65d2b4bfaa163 URL: http://source.winehq.org/git/wine.git/?a=commit;h=de139491f60db5799e5376cae2... Author: Hans Leidekker <hans(a)codeweavers.com> Date: Tue Oct 3 16:14:42 2017 +0200 webservices: Set event handles to NULL on error. Signed-off-by: Hans Leidekker <hans(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/webservices/channel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/webservices/channel.c b/dlls/webservices/channel.c index 08e0493..ef37095 100644 --- a/dlls/webservices/channel.c +++ b/dlls/webservices/channel.c @@ -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; }
participants (1)
-
Alexandre Julliard