Open Cvjark opened 2 years ago
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 ?
./vorbis_test
==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).
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 ?