[flac-dev] [PATCH] always call FreeLibrary()
lvqcl.mail at gmail.com
Sat Aug 8 03:50:15 PDT 2015
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1407 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20150808/ea501fdf/attachment.obj
More information about the flac-dev