Description
PipCallDriverAddDevice opens a bunch of registry keys, then calls IopAttachFilterDrivers. IopAttachFilterDrivers then opens the same keys again. This should be fixed so that IopAttachFilterDrivers receives them as parameters.
There are also code paths that leak key handles or close them twice that need fixing.