mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Free the RTSPStreams in ff_rtsp_close_streams
This plugs a small memory leak Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit ea7f080749d68a431226ce196014da38761a0d82)
This commit is contained in:
parent
45eaec3029
commit
2aaa2a1700
@ -532,6 +532,7 @@ void ff_rtsp_close_streams(AVFormatContext *s)
|
||||
if (rtsp_st->dynamic_handler && rtsp_st->dynamic_protocol_context)
|
||||
rtsp_st->dynamic_handler->close(
|
||||
rtsp_st->dynamic_protocol_context);
|
||||
av_free(rtsp_st);
|
||||
}
|
||||
}
|
||||
av_free(rt->rtsp_streams);
|
||||
|
Loading…
x
Reference in New Issue
Block a user