projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ebad9f3
)
Cleanup isn't necessary after calling the driver in NtQueryDirectoryFile.
author
Hartmut Birr
<osexpert@googlemail.com>
Tue, 29 Nov 2005 22:39:12 +0000
(22:39 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Tue, 29 Nov 2005 22:39:12 +0000
(22:39 +0000)
svn path=/trunk/; revision=19759
reactos/ntoskrnl/io/file.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/file.c
b/reactos/ntoskrnl/io/file.c
index
f4d3adc
..
c8107ff
100644
(file)
--- a/
reactos/ntoskrnl/io/file.c
+++ b/
reactos/ntoskrnl/io/file.c
@@
-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)
Cleanup:
if (FileObject != NULL)