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.

Attachment: win_utf_io.patch
Description: Binary data

_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to