From 2a5f7c6acd7c1def613a2f9872d5558a3c31e4be Mon Sep 17 00:00:00 2001 From: Tommi Myöhänen Date: Thu, 15 Nov 2007 17:47:43 +0000 Subject: gst/rtsp/gstrtspsrc.c: Fix some more leaks. Fixes #497007. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message from CVS: Patch by: Tommi Myöhänen * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_streams): Fix some more leaks. Fixes #497007. --- gst/rtsp/gstrtspsrc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst') 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); } } -- cgit