7 Jul
2025
7 Jul
'25
3:27 a.m.
From: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- dlls/shell32/assoc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/shell32/assoc.c b/dlls/shell32/assoc.c index 45e9781d078..74df71241e4 100644 --- a/dlls/shell32/assoc.c +++ b/dlls/shell32/assoc.c @@ -152,7 +152,8 @@ static ULONG WINAPI IQueryAssociations_fnRelease(IQueryAssociations *iface) { TRACE("Destroying IQueryAssociations (%p)\n", This); RegCloseKey(This->hkeySource); - RegCloseKey(This->hkeyProgID); + if (This->hkeySource != This->hkeyProgID) + RegCloseKey(This->hkeyProgID); SHFree(This); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8512