Skip to content
Snippets Groups Projects
Commit 0034314a authored by Alexander Drozdov's avatar Alexander Drozdov Committed by Luca Barbato
Browse files

rtmp: Always call rtmp_close() on rtmp_open() failure


Prevent possible memory leaks.

Connect to nginx and request a non-existent resource to
trigger the issue.

CC: libav-stable@libav.org

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
Signed-off-by: default avatarUwe L. Korn <uwelk@xhochy.com>
Signed-off-by: default avatarLuca Barbato <lu_zero@gentoo.org>
parent fc1eda54
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment