vorbis icon indicating copy to clipboard operation
vorbis copied to clipboard

memory leaks

Open Cvjark opened this issue 2 years ago • 0 comments

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).

Cvjark avatar Jul 03 '22 02:07 Cvjark