Cleanup isn't necessary after calling the driver in NtQueryDirectoryFile.

svn path=/trunk/; revision=19759
This commit is contained in:
Hartmut Birr 2005-11-29 22:39:12 +00:00
parent ebad9f3557
commit ad9750d854

View file

@ -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)