mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
gst/rtsp/gstrtspsrc.c: Don't leak file descriptors on error. Fixes #531532.
Original commit message from CVS: Patch by: Sjoerd Simons <sjoerd at luon dot net> * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_open): Don't leak file descriptors on error. Fixes #531532.
This commit is contained in:
parent
24e21ae6e9
commit
89b114fe44
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-05-05 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
Patch by: Sjoerd Simons <sjoerd at luon dot net>
|
||||
|
||||
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_open):
|
||||
Don't leak file descriptors on error. Fixes #531532.
|
||||
|
||||
2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_reset),
|
||||
|
|
|
@ -4064,6 +4064,10 @@ setup_failed:
|
|||
}
|
||||
cleanup_error:
|
||||
{
|
||||
if (src->connection) {
|
||||
gst_rtsp_connection_free (src->connection);
|
||||
src->connection = NULL;
|
||||
}
|
||||
GST_RTSP_STATE_UNLOCK (src);
|
||||
gst_rtsp_message_unset (&request);
|
||||
gst_rtsp_message_unset (&response);
|
||||
|
|
Loading…
Reference in a new issue