commit | 07be2916e1c9d04dc19fc1f0781d0d8ac9a73db9 | [log] [tgz] |
---|---|---|
author | Josh Coalson <jcoalson@users.sourceforce.net> | Tue Oct 19 04:23:57 2004 +0000 |
committer | Josh Coalson <jcoalson@users.sourceforce.net> | Tue Oct 19 04:23:57 2004 +0000 |
tree | c57bed68f4d835b25fe30116999f0be152a09024 | |
parent | ed1db1f6a049a854aac91196b05412f9e3bd391c [diff] |
fix leak: chain was not being freed in one error case
diff --git a/src/metaflac/operations.c b/src/metaflac/operations.c index 89dc6fb..a19e9e1 100644 --- a/src/metaflac/operations.c +++ b/src/metaflac/operations.c
@@ -110,6 +110,7 @@ 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; }