Skip to content
Permalink
Browse files

ArmCPUDetect: close the registry key when finish

  • Loading branch information...
driver1998 committed May 13, 2019
1 parent cdaa8d2 commit c4f200e814fe8e03bcb67e879ad9b006fdc6edc8
Showing with 1 addition and 0 deletions.
  1. +1 −0 Common/ArmCPUDetect.cpp
@@ -47,6 +47,7 @@ std::string GetCPUBrandString() {
cpu_string = ConvertWStringToUTF8((wchar_t*)buff);
free(buff);
}
RegCloseKey(key);
}

if (cpu_string.empty())

0 comments on commit c4f200e

Please sign in to comment.
You can’t perform that action at this time.