mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Cleanup isn't necessary after calling the driver in NtQueryDirectoryFile.
svn path=/trunk/; revision=19759
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user