Module: wine Branch: master Commit: 28d572aa14300b7452f491e2a6b53b4e1ad9a104 URL: https://source.winehq.org/git/wine.git/?a=commit;h=28d572aa14300b7452f491e2a...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Sun Apr 24 11:42:22 2022 +0300
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
---
dlls/uxtheme/system.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/dlls/uxtheme/system.c b/dlls/uxtheme/system.c index 908451f0fe8..05b86e40b1a 100644 --- a/dlls/uxtheme/system.c +++ b/dlls/uxtheme/system.c @@ -127,7 +127,6 @@ static DWORD query_reg_path (HKEY hKey, LPCWSTR lpszValue, } }
- RegCloseKey(hKey); return dwRet; }