summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gst/rtsp/gstrtspsrc.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 46d95344..705bb077 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}
}