server: Initialize irp->thread immediately after creation of irp_call object.

This commit is contained in:
Sebastian Lackner 2015-08-16 07:59:48 +02:00 committed by Alexandre Julliard
parent 8657547d9e
commit b279901546
1 changed files with 1 additions and 0 deletions

View File

@ -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 ))) if ((irp = alloc_object( &irp_call_ops )))
{ {
irp->file = (struct device_file *)grab_object( file ); irp->file = (struct device_file *)grab_object( file );
irp->thread = NULL;
irp->async = NULL; irp->async = NULL;
irp->params = *params; irp->params = *params;
irp->status = STATUS_PENDING; irp->status = STATUS_PENDING;