uxtheme: Fix double free on registry key handle.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52704 Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f4fdafbb55
commit
28d572aa14
|
@ -127,7 +127,6 @@ static DWORD query_reg_path (HKEY hKey, LPCWSTR lpszValue,
|
|||
}
|
||||
}
|
||||
|
||||
RegCloseKey(hKey);
|
||||
return dwRet;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue