Re: PATCH: Use FreeLibrary instead of CloseHandle to free Win32 DLL opened with LoadLibraryEx

NIIBE Yutaka via Gcrypt-devel <[email protected]> Tue, 12 May 2026 15:00:05 +0900
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <[email protected]>
Hello,

John Thacker wrote:
> Below is a patch to fix an issue with a recent libgcrypt commit that
> opens the Windows "shell32.dll" with LoadLibraryEx but closes it with
> CloseHandle instead of the preferred FreeLibrary.

Thank you for the patch.  Applied and pushed in master, 1.11 branch,
and 1.8 branch.
--