rtpg726pay: fix caps leak
https://bugzilla.gnome.org/show_bug.cgi?id=749544
This commit is contained in:
parent
335afc982b
commit
5e226d63f9
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user