Commit 6720a0a9 authored by Jochen Keil's avatar Jochen Keil

free previously allocated flac metadata object

parent a1bde6b9
...@@ -316,6 +316,7 @@ flac_cue_tag_load(const char *file) ...@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment