Skip to content

memory leaks #91

@Cvjark

Description

@Cvjark

hi, I just want to test this repo so i attach ASAN during the compile phase. When i run ./vorbis_test the ASAN detected memory leaks, is it a bug ?

==7487==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 62656 byte(s) in 22 object(s) allocated from:
    #0 0x4b1ec0 in malloc /home/bupt/Desktop/tools/llvm-12.0.1/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:145
    #1 0x4ff7b1 in vorbis_encode_residue_setup /home/bupt/Desktop/vorbis/lib/vorbisenc.c:463:5
    #2 0x4ff7b1 in vorbis_encode_map_n_res_setup /home/bupt/Desktop/vorbis/lib/vorbisenc.c:612:7
    #3 0x4ff7b1 in vorbis_encode_setup_init /home/bupt/Desktop/vorbis/lib/vorbisenc.c:828:3

SUMMARY: AddressSanitizer: 62656 byte(s) leaked in 22 allocation(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions