From 5e226d63f941862867c6edd77a238d4c20e734d1 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Mon, 18 May 2015 16:40:21 +0200 Subject: [PATCH] rtpg726pay: fix caps leak https://bugzilla.gnome.org/show_bug.cgi?id=749544 --- gst/rtp/gstrtpg726pay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtp/gstrtpg726pay.c b/gst/rtp/gstrtpg726pay.c index da9fe25f34..7c7e9a826f 100644 --- a/gst/rtp/gstrtpg726pay.c +++ b/gst/rtp/gstrtpg726pay.c @@ -202,6 +202,7 @@ gst_rtp_g726_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps) /* intersect to filter */ intersect = gst_caps_intersect (peercaps, filter); gst_caps_unref (peercaps); + gst_caps_unref (filter); GST_DEBUG_OBJECT (payload, "intersected to %" GST_PTR_FORMAT, intersect);