mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtp: opuspay: fix memory leak in gst_rtp_opus_pay_setcaps.
The src caps were never dereferenced, causing a memory leak.
This commit is contained in:
parent
5fde140e6e
commit
dbd7234191
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue