diff options
author | jonasno <jonasno@users.sourceforge.net> | 2010-02-05 22:42:39 +0300 |
---|---|---|
committer | jonasno <jonasno@users.sourceforge.net> | 2010-02-05 22:42:39 +0300 |
commit | 06e5eb864870d9d8d32d3fe8170ad35564a15ee6 (patch) | |
tree | 019ed727df06ed7d54cbb0ccadfb92342f8daa85 /src/filters/transform/mpadecfilter | |
parent | bb21ed09ceb998b8dd02415b505c487e15178241 (diff) |
Fixed memory leak in libFlac, leak have been reported upstream:
(Artifact 2946736)
Link: http://sourceforge.net/tracker/?func=detail&aid=2946736&group_id=13478&atid=313478
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1612 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/mpadecfilter')
-rw-r--r-- | src/filters/transform/mpadecfilter/libflac/src/libFLAC/metadata_iterators.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filters/transform/mpadecfilter/libflac/src/libFLAC/metadata_iterators.c b/src/filters/transform/mpadecfilter/libflac/src/libFLAC/metadata_iterators.c index b7f336dfd..40d72d45f 100644 --- a/src/filters/transform/mpadecfilter/libflac/src/libFLAC/metadata_iterators.c +++ b/src/filters/transform/mpadecfilter/libflac/src/libFLAC/metadata_iterators.c @@ -1217,6 +1217,7 @@ static FLAC__bool chain_read_cb_(FLAC__Metadata_Chain *chain, FLAC__IOHandle han }
if(!read_metadata_block_header_cb_(handle, read_cb, &is_last, &type, &length)) {
+ node_delete_(node);
chain->status = FLAC__METADATA_CHAIN_STATUS_READ_ERROR;
return false;
}
|