Cleanup isn't necessary after calling the driver in
NtQueryDirectoryFile.
Modified: trunk/reactos/ntoskrnl/io/file.c
_____
Modified: trunk/reactos/ntoskrnl/io/file.c
--- trunk/reactos/ntoskrnl/io/file.c 2005-11-29 22:11:54 UTC (rev
19758)
+++ trunk/reactos/ntoskrnl/io/file.c 2005-11-29 22:39:12 UTC (rev
19759)
@@ -2618,11 +2618,8 @@
}
}
- /* don't dereference the event anymore! */
- Event = NULL;
- /* don't free the search pattern string */
- SearchPattern = NULL;
+ return Status;
Cleanup:
if (FileObject != NULL)
Show replies by date