Task #119193 - fixed.err
back to task #119193download
Error: GCC_ANALYZER_WARNING (CWE-401):
libvorbis-1.3.7/lib/sharedbook.c:212:6: warning[-Wanalyzer-malloc-leak]: leak of ‘_book_unquantize(b, (int)*b.entries, 0)’
libvorbis-1.3.7/lib/sharedbook.c:560:6: enter_function: entry to ‘run_test’
libvorbis-1.3.7/lib/sharedbook.c:561:14: call_function: calling ‘_book_unquantize’ from ‘run_test’
libvorbis-1.3.7/lib/sharedbook.c:561:14: return_function: returning to ‘run_test’ from ‘_book_unquantize’
libvorbis-1.3.7/lib/sharedbook.c:564:5: branch_false: following ‘false’ branch (when ‘comp’ is NULL)...
libvorbis-1.3.7/lib/sharedbook.c:578:7: branch_false: ...to here
libvorbis-1.3.7/lib/sharedbook.c:212:6: danger: ‘_book_unquantize(b, (int)*b.entries, 0)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
# 210| float *_book_unquantize(const static_codebook *b,int n,int *sparsemap){
# 211| long j,k,count=0;
# 212|-> if(b->maptype==1 || b->maptype==2){
# 213| int quantvals;
# 214| float mindel=_float32_unpack(b->q_min);