free previously allocated flac metadata object
This commit is contained in:
parent
a1bde6b99d
commit
6720a0a940
@ -316,6 +316,7 @@ flac_cue_tag_load(const char *file)
|
|||||||
if (FLAC__metadata_get_streaminfo(file, si))
|
if (FLAC__metadata_get_streaminfo(file, si))
|
||||||
{
|
{
|
||||||
sample_rate = si->data.stream_info.sample_rate;
|
sample_rate = si->data.stream_info.sample_rate;
|
||||||
|
FLAC__metadata_object_delete(si);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FLAC__metadata_get_cuesheet(file, &cs))
|
if (FLAC__metadata_get_cuesheet(file, &cs))
|
||||||
|
Loading…
Reference in New Issue
Block a user