From: (Jan Ehrhardt)
Date:  11 Jun 2018 08:59:37 Hong Kong Time

Re: FreeLibrary(GetModuleHandle(…))?

NNTP-Posting-Host:  null

Hi Cristoph,

"Christoph M. Becker" in (Mon, 11 Jun 2018 01:34:14
>Due to , I've noticed a few occurrences
>where FreeLibrary() is called on a handle retrieved by
>GetModuleHandle().  According to the documentation of
>GetModuleHandle()[1], these appear to be wrong, since the docs state:
>| Retrieves a module handle for the specified module. The module must
>| have been loaded by the calling process.
>| Therefore, do not pass a handle returned by GetModuleHandle to the
>| FreeLibrary function.

Which other occurrences of the same sequence did you notice?