Commit bc9b8d82 authored by Chris Robinson's avatar Chris Robinson Committed by Alexandre Julliard

mshtml: Fix hkey leak.

parent ff478788
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment