From 6720a0a9404171fba2de86d247c3d7ed0174cbd4 Mon Sep 17 00:00:00 2001 From: Jochen Keil Date: Tue, 31 Mar 2009 22:04:04 +0200 Subject: free previously allocated flac metadata object --- src/decoder/flac_plugin.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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)) -- cgit v1.2.3