Ticket #1931 (closed defect: fixed)
ogg: ogg_read_header() leaks memory on failure.
|Reported by:||dalecurtis||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
ogg_read_header() doesn't free memory allocated by ogg_packet() on failure. Ideally it should call ogg_read_close() or free the memory in some other manner.
197,205 (1,224 direct, 195,981 indirect) bytes in 1 blocks are definitely lost in loss record 3,754 of 3,754
Found via valgrind + the attached test case.
- Status changed from new to open
- Version changed from unspecified to git-master
- Component changed from undetermined to avformat
- Reproduced by developer set