提交 ea7f0807 编写于 作者: L Luca Barbato 提交者: Janne Grunau

Free the RTSPStreams in ff_rtsp_close_streams

This plugs a small memory leak
Signed-off-by: NJanne Grunau <janne-ffmpeg@jannau.net>
上级 71e0bee9
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册