Commit 07be2916 authored by Josh Coalson's avatar Josh Coalson
Browse files

fix leak: chain was not being freed in one error case

parent ed1db1f6
......@@ -110,6 +110,7 @@ FLAC__bool do_major_operation_on_file(const char *filename, const CommandLineOpt
if(!FLAC__metadata_chain_read(chain, filename)) {
print_error_with_chain_status(chain, "%s: ERROR: reading metadata", filename);
FLAC__metadata_chain_delete(chain);
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment