diff options
| author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-01-22 12:21:29 +0100 | 
|---|---|---|
| committer | Wim Taymans <wim@wtay.(none)> | 2009-01-22 12:21:29 +0100 | 
| commit | 16799b6b16c2fe524ea63016781c86304c2f7275 (patch) | |
| tree | 8b8dd010de42615bbb2acd9740901a5ca9e0750a | |
| parent | 4e3472ae6fa64b80c9038a8acaf115d1a7e291c4 (diff) | |
Free leftover udp ports (if any) when a setup request fails.
| -rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 6bc6fc37..79455cd1 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -3973,6 +3973,8 @@ gst_rtspsrc_setup_streams (GstRTSPSrc * src)          gst_rtspsrc_stream_free_udp (stream);          continue;        default: +        /* cleanup of leftover transport and move to the next stream */ +        gst_rtspsrc_stream_free_udp (stream);          goto response_error;      }  | 
