summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorTommi Myöhänen <ext-tommi.myohanen@nokia.com>2007-11-15 17:47:43 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-11-15 17:47:43 +0000
commit2a5f7c6acd7c1def613a2f9872d5558a3c31e4be (patch)
treea4611457242e48a700cc3f06dd7dd689eb3a28bd /gst
parent624497b1c586d3c14fbda91e56edfddbf83e9293 (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.
Diffstat (limited to 'gst')
-rw-r--r--gst/rtsp/gstrtspsrc.c3
1 files changed, 3 insertions, 0 deletions
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);
}
}