webrtcbin: Fix memory leak
The structure is not used after this block CID: 1455481
This commit is contained in:
parent
3c5e5f8b85
commit
c026522084
@ -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…
x
Reference in New Issue
Block a user