mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 19:11:16 +00:00
Cleanup isn't necessary after calling the driver in NtQueryDirectoryFile.
svn path=/trunk/; revision=19759
This commit is contained in:
parent
ebad9f3557
commit
ad9750d854
|
@ -2618,11 +2618,8 @@ NtQueryDirectoryFile(IN HANDLE FileHandle,
|
|||
}
|
||||
}
|
||||
|
||||
/* don't dereference the event anymore! */
|
||||
Event = NULL;
|
||||
|
||||
/* don't free the search pattern string */
|
||||
SearchPattern = NULL;
|
||||
return Status;
|
||||
|
||||
Cleanup:
|
||||
if (FileObject != NULL)
|
||||
|
|
Loading…
Reference in a new issue