aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorJochen Keil <jochen.keil@gmail.com>2009-03-31 22:04:04 +0200
committerJochen Keil <jochen.keil@gmail.com>2009-03-31 22:17:56 +0200
commit6720a0a9404171fba2de86d247c3d7ed0174cbd4 (patch)
tree47fd30970ab0ee09ea341dcb94d24f083d6b2072 /src/decoder
parenta1bde6b99d76ac75eddd5a3ac77c77e4249c5de4 (diff)
downloadmpd-6720a0a9404171fba2de86d247c3d7ed0174cbd4.tar.gz
mpd-6720a0a9404171fba2de86d247c3d7ed0174cbd4.tar.xz
mpd-6720a0a9404171fba2de86d247c3d7ed0174cbd4.zip
free previously allocated flac metadata object
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/flac_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/decoder/flac_plugin.c b/src/decoder/flac_plugin.c
index deb64d285..ec1fd01ef 100644
--- a/src/decoder/flac_plugin.c
+++ b/src/decoder/flac_plugin.c
@@ -316,6 +316,7 @@ flac_cue_tag_load(const char *file)
if (FLAC__metadata_get_streaminfo(file, si))
{
sample_rate = si->data.stream_info.sample_rate;
+ FLAC__metadata_object_delete(si);
}
if (FLAC__metadata_get_cuesheet(file, &cs))