• Erik de Castro Lopo's avatar
    libFLAC: Improve fix in bc511300 · d939b44a
    Erik de Castro Lopo authored
    The assert that was removed in bc511300, was a result of error
    handling in read_metadata_vorbiscomment_() which set obj->num_comments
    to zero, without freeing obj->comments and setting it to NULL.
    This commit also restores the assert that was removed.
metadata_object.c 59.9 KB