mshtml: Fix hkey leak.
This commit is contained in:
parent
ff47878863
commit
bc9b8d82e9
|
@ -147,6 +147,7 @@ static void set_registry(LPCSTR install_dir)
|
|||
|
||||
res = RegSetValueExW(hkey, wszVersion, 0, REG_SZ, (LPVOID)wszIEVersion,
|
||||
sizeof(wszIEVersion));
|
||||
RegCloseKey(hkey);
|
||||
if(res != ERROR_SUCCESS) {
|
||||
ERR("Failed to set Version value: %d\n", res);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue