projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't dereference device objects if they were not referenced
[reactos.git]
/
reactos
/
drivers
/
input
/
mouclass
/
mouclass.c
diff --git
a/reactos/drivers/input/mouclass/mouclass.c
b/reactos/drivers/input/mouclass/mouclass.c
index
e7981a8
..
c38ddc9
100644
(file)
--- a/
reactos/drivers/input/mouclass/mouclass.c
+++ b/
reactos/drivers/input/mouclass/mouclass.c
@@
-569,7
+569,6
@@
ClassAddDevice(
if (!NT_SUCCESS(Status))
{
DPRINT("ConnectPortDriver() failed with status 0x%08lx\n", Status);
- ObDereferenceObject(Fdo);
goto cleanup;
}
Fdo->Flags &= ~DO_DEVICE_INITIALIZING;