mirror of https://github.com/FFmpeg/FFmpeg.git
Recent commitspull/164/head6aaac24d72
and3835554bf8
made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Unfortunately, even leaving aside this subtle intermediate failure aspect, commit8087632027
was only partially successful in addressing memleaks. Hopefully, this commit fixes the issue completely. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1270818. Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
parent
cb93df0dcb
commit
00c3220149
1 changed files with 12 additions and 4 deletions
Loading…
Reference in new issue