Jacek Caban : server: Allocate wait handle on async object in queue_irp.

Alexandre Julliard julliard at winehq.org
Wed May 10 17:23:18 CDT 2017


Module: wine
Branch: master
Commit: b76c1b468adcddd402b339d613e71527e5d5008f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b76c1b468adcddd402b339d613e71527e5d5008f

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed May 10 18:34:34 2017 +0200

server: Allocate wait handle on async object in queue_irp.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 server/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/device.c b/server/device.c
index 1d129c3..1fe3de7 100644
--- a/server/device.c
+++ b/server/device.c
@@ -466,7 +466,7 @@ static obj_handle_t queue_irp( struct device_file *file, struct irp_call *irp, s
 {
     obj_handle_t handle = 0;
 
-    if (async_is_blocking( async ) && !(handle = alloc_handle( current->process, irp, SYNCHRONIZE, 0 ))) return 0;
+    if (async_is_blocking( async ) && !(handle = alloc_handle( current->process, async, SYNCHRONIZE, 0 ))) return 0;
 
     if (!fd_queue_async( file->fd, async, ASYNC_TYPE_WAIT ))
     {




More information about the wine-cvs mailing list