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 /gst | |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 3 |
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); } } |