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

NIIBE Yutaka gniibe at fsij.org
Tue May 12 08:00:05 CEST 2026


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.
-- 



More information about the Gcrypt-devel mailing list