[SYSDM] Add missing RegCloseKey function calls

Addendum to 06198c5.
This commit is contained in:
Stanislav Motylkov 2020-08-26 23:22:57 +03:00
parent 06198c51ac
commit 22fb1e947d
No known key found for this signature in database
GPG Key ID: AFE513258CBA9E92

View File

@ -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 */