mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Free leftover udp ports (if any) when a setup request fails.
This commit is contained in:
parent
4e3472ae6f
commit
16799b6b16
1 changed files with 2 additions and 0 deletions
|
@ -3973,6 +3973,8 @@ gst_rtspsrc_setup_streams (GstRTSPSrc * src)
|
||||||
gst_rtspsrc_stream_free_udp (stream);
|
gst_rtspsrc_stream_free_udp (stream);
|
||||||
continue;
|
continue;
|
||||||
default:
|
default:
|
||||||
|
/* cleanup of leftover transport and move to the next stream */
|
||||||
|
gst_rtspsrc_stream_free_udp (stream);
|
||||||
goto response_error;
|
goto response_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue