webrtcbin: Fix memory leak

The structure is not used after this block

CID: 1455481
This commit is contained in:
Edward Hervey 2019-11-21 16:24:38 +01:00 committed by Edward Hervey
parent 3c5e5f8b85
commit c026522084

View file

@ -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);
}
}