free previously allocated flac metadata object

This commit is contained in:
Jochen Keil 2009-03-31 22:04:04 +02:00
parent a1bde6b99d
commit 6720a0a940

View File

@ -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))