https://git.reactos.org/?p=reactos.git;a=commitdiff;h=22fb1e947d1d1842b5a819782756a611c4695d50
commit 22fb1e947d1d1842b5a819782756a611c4695d50 Author: Stanislav Motylkov <x86co...@gmail.com> AuthorDate: Wed Aug 26 23:22:57 2020 +0300 Commit: Stanislav Motylkov <x86co...@gmail.com> CommitDate: Wed Aug 26 23:22:57 2020 +0300 [SYSDM] Add missing RegCloseKey function calls Addendum to 06198c5. --- dll/cpl/sysdm/general.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dll/cpl/sysdm/general.c b/dll/cpl/sysdm/general.c index 870ec299c1b..85bc450cc2f 100644 --- a/dll/cpl/sysdm/general.c +++ b/dll/cpl/sysdm/general.c @@ -468,6 +468,7 @@ static VOID GetSystemInformation(HWND hwnd) { SetRegTextData(hwnd, hKey, _T("Identifier"), CurMachineLine); CurMachineLine++; + RegCloseKey(hKey); } } /* @@ -489,6 +490,7 @@ static VOID GetSystemInformation(HWND hwnd) SetProcSpeed(hwnd, hKey, _T("~MHz"), CurMachineLine); CurMachineLine++; + RegCloseKey(hKey); } /* Get total physical RAM */