Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e20259bb
Commit
e20259bb
authored
Oct 13, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Oct 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add support for async close processing.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
45b651e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+6
-1
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
e20259bb
...
...
@@ -196,6 +196,12 @@ static NTSTATUS WINAPI dispatch_irp_completion( DEVICE_OBJECT *device, IRP *irp,
}
SERVER_END_REQ
;
if
(
irp
->
Flags
&
IRP_CLOSE_OPERATION
)
{
HeapFree
(
GetProcessHeap
(),
0
,
file
);
irp
->
Tail
.
Overlay
.
OriginalFileObject
=
NULL
;
}
HeapFree
(
GetProcessHeap
(),
0
,
irp
->
UserBuffer
);
return
STATUS_SUCCESS
;
}
...
...
@@ -292,7 +298,6 @@ static NTSTATUS dispatch_close( const irp_params_t *params, void *in_buff, ULONG
irp
->
Flags
|=
IRP_CLOSE_OPERATION
;
dispatch_irp
(
device
,
irp
,
irp_handle
);
HeapFree
(
GetProcessHeap
(),
0
,
file
);
/* FIXME: async close processing not supported */
return
STATUS_SUCCESS
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment