Free leftover udp ports (if any) when a setup request fails.

This commit is contained in:
Wim Taymans 2009-01-22 12:21:29 +01:00 committed by Wim Taymans
parent 4e3472ae6f
commit 16799b6b16

View file

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