OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45eaec3
)
Free the RTSPStreams in ff_rtsp_close_streams
author
Luca Barbato
<lu_zero@gentoo.org>
Tue, 1 Feb 2011 19:09:24 +0000
(20:09 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 2 Feb 2011 02:40:50 +0000
(
03:40
+0100)
This plugs a small memory leak
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit
ea7f080749d68a431226ce196014da38761a0d82
)
libavformat/rtsp.c
patch
|
blob
|
history
diff --git
a/libavformat/rtsp.c
b/libavformat/rtsp.c
index
9a6d6ad
..
09e2f1e
100644
(file)
--- a/
libavformat/rtsp.c
+++ b/
libavformat/rtsp.c
@@
-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);