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:
Nikolay Sivov 2022-04-24 11:42:22 +03:00 committed by Alexandre Julliard
parent f4fdafbb55
commit 28d572aa14
1 changed files with 0 additions and 1 deletions

View File

@ -127,7 +127,6 @@ static DWORD query_reg_path (HKEY hKey, LPCWSTR lpszValue,
}
}
RegCloseKey(hKey);
return dwRet;
}