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.
This commit is contained in:
Tommi Myöhänen 2007-11-15 17:47:43 +00:00 committed by Wim Taymans
parent 624497b1c5
commit 2a5f7c6acd
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,10 @@
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_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>

View file

@ -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);
}
}