Sebastian Lackner : server: Initialize irp-> thread immediately after creation of irp_call object.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Aug 17 09:01:12 CDT 2015
Module: wine
Branch: master
Commit: b279901546299b327313ba19f2e63d5bcf4d4ff9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b279901546299b327313ba19f2e63d5bcf4d4ff9
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Sun Aug 16 07:59:48 2015 +0200
server: Initialize irp->thread immediately after creation of irp_call object.
---
server/device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/device.c b/server/device.c
index e6dc15e..812bce3 100644
--- a/server/device.c
+++ b/server/device.c
@@ -259,6 +259,7 @@ static struct irp_call *create_irp( struct device_file *file, const irp_params_t
if ((irp = alloc_object( &irp_call_ops )))
{
irp->file = (struct device_file *)grab_object( file );
+ irp->thread = NULL;
irp->async = NULL;
irp->params = *params;
irp->status = STATUS_PENDING;
More information about the wine-cvs
mailing list