Author: janderwald
Date: Sun Mar 1 13:53:16 2015
New Revision: 66519
URL:
http://svn.reactos.org/svn/reactos?rev=66519&view=rev
Log:
[NTOS]
- plug leak in error case
Modified:
trunk/reactos/ntoskrnl/io/iomgr/deviface.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/deviface.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/deviface…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/deviface.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/deviface.c [iso-8859-1] Sun Mar 1 13:53:16 2015
@@ -1397,6 +1397,7 @@
if (!NT_SUCCESS(Status))
{
DPRINT1("RtlGUIDFromString() failed with status 0x%08lx\n", Status);
+ ObDereferenceObject(FileObject);
return Status;
}