[flac-dev] [PATCH] always call FreeLibrary()
Erik de Castro Lopo
mle+la at mega-nerd.com
Tue Aug 11 02:44:37 PDT 2015
lvqcl wrote:
> get_utf8_argv() function calls LoadLibrary to load msvcrt.dll,
> but doesn't call FreeLibrary() if it returns an error.
>
> Currently both flac.exe and metaflac.exe exit immediately
> if get_utf8_argv() fails, so it's not a big problem. But IMHO
> it's better no to have leaked resources anyway.
Applied. Thanks.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the flac-dev
mailing list