diff options
author | Tommi Myöhänen <ext-tommi.myohanen@nokia.com> | 2007-11-15 17:47:43 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-11-15 17:47:43 +0000 |
commit | 2a5f7c6acd7c1def613a2f9872d5558a3c31e4be (patch) | |
tree | a4611457242e48a700cc3f06dd7dd689eb3a28bd | |
parent | 624497b1c586d3c14fbda91e56edfddbf83e9293 (diff) |
gst/rtsp/gstrtspsrc.c: Fix some more leaks. Fixes #497007.
Original commit message from CVS:
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_streams):
Fix some more leaks. Fixes #497007.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 3 |
2 files changed, 10 insertions, 0 deletions
@@ -2,6 +2,13 @@ Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com> + * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_streams): + Fix some more leaks. Fixes #497007. + +2007-11-15 Wim Taymans <wim.taymans@gmail.com> + + Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com> + * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_free), (gst_rtspsrc_stream_configure_tcp): Fix 3 pad leaks. Fixes #496983. diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index aa13ad12..04df8abb 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -3690,6 +3690,9 @@ gst_rtspsrc_setup_streams (GstRTSPSrc * src) next: /* clean up our transport struct */ gst_rtsp_transport_init (&transport); + /* clean up used RTSP messages */ + gst_rtsp_message_unset (&request); + gst_rtsp_message_unset (&response); } } |