From 3528046773c3c179751c1e727f9a13369d5578ed Mon Sep 17 00:00:00 2001 From: Jesper Larsen Date: Thu, 23 Apr 2015 09:55:59 +0200 Subject: [PATCH] rtspsrc: Fix RTCP caps leak https://bugzilla.gnome.org//show_bug.cgi?id=748353 --- gst/rtsp/gstrtspsrc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 59258d4b23..0f42126087 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -4642,6 +4642,8 @@ gst_rtspsrc_handle_data (GstRTSPSrc * src, GstRTSPMessage * message) gst_pad_send_event (ostream->channelpad[1], gst_event_new_caps (caps)); } + + gst_caps_unref (caps); } } }