summaryrefslogtreecommitdiff
path: root/gst/rtp
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-06-02 11:30:15 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-06-02 11:30:15 +0100
commit18b53c223647e86a91eccbac4563aa906030cc05 (patch)
treec98b7245dc2c96a1d60da1883e68d401aea002db /gst/rtp
parenta68a7fb65d0d43bf032b494d23f5ab73154b3507 (diff)
rtph265depay: fix caps leak
Diffstat (limited to 'gst/rtp')
-rw-r--r--gst/rtp/gstrtph265depay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtp/gstrtph265depay.c b/gst/rtp/gstrtph265depay.c
index e31b6e6f7..d06b2d3c2 100644
--- a/gst/rtp/gstrtph265depay.c
+++ b/gst/rtp/gstrtph265depay.c
@@ -541,6 +541,7 @@ gst_rtp_h265_set_src_caps (GstRtpH265Depay * rtph265depay)
gst_caps_unref (tmp_caps);
}
+ gst_caps_unref (old_caps);
} else {
res =
gst_pad_set_caps (GST_RTP_BASE_DEPAYLOAD_SRCPAD (rtph265depay),