Commit 4e5d7165 authored by Knut Andre Tidemann's avatar Knut Andre Tidemann Committed by Tim-Philipp Müller

rtp: opuspay: fix memory leak in gst_rtp_opus_pay_setcaps.

The src caps were never dereferenced, causing a memory leak.
parent 86b781ff
Pipeline #54746 passed with stages
in 71 minutes and 33 seconds
......@@ -125,6 +125,7 @@ gst_rtp_opus_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps)
if (!gst_value_can_intersect (&default_value, value))
encoding_name = "X-GST-OPUS-DRAFT-SPITTKA-00";
gst_caps_unref (src_caps);
s = gst_caps_get_structure (caps, 0);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment