This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Free the RTSPStreams in ff_rtsp_close_streams
This plugs a small memory leak Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
tags/n0.8
Luca Barbato
Janne Grunau
15 years ago
parent
71e0bee9ea
commit
ea7f080749
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavformat/rtsp.c
+ 1
- 0
libavformat/rtsp.c
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save