• Max Kellermann's avatar
    decoder/flac: don't allocate cuesheet twice (memleak) · 1c4f407a
    Max Kellermann authored
    The function flac_cue_track() first calls FLAC__metadata_object_new(),
    then overwrites this pointer with FLAC__metadata_get_cuesheet().  This
    allocate two FLAC__StreamMetadata objects, but the first pointer is
    lost, and never freed.
    1c4f407a
_flac_common.c 11 KB