mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
Revert "[VIDEOPRT] Fix updating of new registry path values"
This reverts commitecf3416f49
. This commit was meant to fix CORE-17688. While its effectively fixed the problem, it introduced another regression CORE-17719. In the mean time, commitc05a45e17e
fixed things properly. CORE-17719
This commit is contained in:
parent
ee3659d5d5
commit
5dc56dd1d6
|
@ -557,7 +557,6 @@ IntCreateNewRegistryPath(
|
||||||
ERR_(VIDEOPRT, "Failed create key '%wZ'\n", &DeviceExtension->NewRegistryPath);
|
ERR_(VIDEOPRT, "Failed create key '%wZ'\n", &DeviceExtension->NewRegistryPath);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Open the new key */
|
/* Open the new key */
|
||||||
InitializeObjectAttributes(&ObjectAttributes,
|
InitializeObjectAttributes(&ObjectAttributes,
|
||||||
|
@ -592,6 +591,7 @@ IntCreateNewRegistryPath(
|
||||||
/* Close the key handles */
|
/* Close the key handles */
|
||||||
ObCloseHandle(SettingsKey, KernelMode);
|
ObCloseHandle(SettingsKey, KernelMode);
|
||||||
ObCloseHandle(NewKey, KernelMode);
|
ObCloseHandle(NewKey, KernelMode);
|
||||||
|
}
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue