ntoskrnl: Do not leak memory by setting input buffer to NULL.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52322
This commit is contained in:
parent
956e580f06
commit
07c0cd6ba5
1 changed files with 0 additions and 1 deletions
|
@ -832,7 +832,6 @@ static NTSTATUS dispatch_volume( struct dispatch_context *context )
|
|||
irp->Tail.Overlay.Thread = (PETHREAD)KeGetCurrentThread();
|
||||
irp->Tail.Overlay.OriginalFileObject = file;
|
||||
irp->RequestorMode = UserMode;
|
||||
context->in_buff = NULL;
|
||||
|
||||
irp->Flags |= IRP_DEALLOCATE_BUFFER; /* deallocate out_buff */
|
||||
return dispatch_irp( device, irp, context );
|
||||
|
|
Loading…
Add table
Reference in a new issue