- Release the guarded mutex before we return
authorCameron Gutman <aicommander@gmail.com>
Sat, 1 Nov 2008 00:36:24 +0000 (00:36 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sat, 1 Nov 2008 00:36:24 +0000 (00:36 +0000)
svn path=/trunk/; revision=37124

reactos/ntoskrnl/io/pnpmgr/pnpnotify.c

index 3c125e5..91ffd13 100644 (file)
@@ -96,6 +96,7 @@ IopNotifyPlugPlayNotification(
                default:
                {
                        DPRINT1("IopNotifyPlugPlayNotification(): unknown EventCategory 0x%x UNIMPLEMENTED\n", EventCategory);
+                       KeReleaseGuardedMutex(&PnpNotifyListLock);
                        return;
                }
        }