- plug leak in error case

svn path=/trunk/; revision=66519
This commit is contained in:
Johannes Anderwald 2015-03-01 13:53:16 +00:00
parent 01dccc57d3
commit 55af6547e4

View file

@ -1397,6 +1397,7 @@ IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName,
if (!NT_SUCCESS(Status))
{
DPRINT1("RtlGUIDFromString() failed with status 0x%08lx\n", Status);
ObDereferenceObject(FileObject);
return Status;
}