diff options
author | Max Kellermann <max@duempel.org> | 2009-08-14 11:51:42 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-08-14 11:51:42 +0200 |
commit | 1c4f407a6db4c4795bbbc354f5cf311762fb8e33 (patch) | |
tree | b405a5b333063966931411f170ffd6471bbaf6c6 /src/decoder_api.c | |
parent | e44f31391234607ce0e95d69903142e71d61c813 (diff) | |
download | mpd-1c4f407a6db4c4795bbbc354f5cf311762fb8e33.tar.gz mpd-1c4f407a6db4c4795bbbc354f5cf311762fb8e33.tar.xz mpd-1c4f407a6db4c4795bbbc354f5cf311762fb8e33.zip |
decoder/flac: don't allocate cuesheet twice (memleak)
The function flac_cue_track() first calls FLAC__metadata_object_new(),
then overwrites this pointer with FLAC__metadata_get_cuesheet(). This
allocate two FLAC__StreamMetadata objects, but the first pointer is
lost, and never freed.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions