mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
webrtcbin: Fix memory leak
The structure is not used after this block CID: 1455481
This commit is contained in:
parent
3c5e5f8b85
commit
c026522084
1 changed files with 2 additions and 0 deletions
|
@ -3390,6 +3390,8 @@ _set_rtx_ptmap_from_stream (GstWebRTCBin * webrtc, TransportStream * stream)
|
|||
g_object_set (stream->rtxreceive, "payload-type-map", pt_map, NULL);
|
||||
if (stream->rtxsend)
|
||||
g_object_set (stream->rtxsend, "payload-type-map", pt_map, NULL);
|
||||
|
||||
gst_structure_free (pt_map);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue