summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/rtsp/gstrtspsrc.c2
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;
}