rtpsession: Fix heap-use-after-free of twcc_packets structure
This is a regression introduced by 90d99c7b52d9dc82a220cca1355f1dca3d57a838. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8427>
This commit is contained in:
parent
bb74aceb5d
commit
a39f465692
@ -3012,8 +3012,6 @@ gst_rtp_session_notify_twcc (RTPSession * sess,
|
|||||||
gst_structure_copy (twcc_packets));
|
gst_structure_copy (twcc_packets));
|
||||||
gst_pad_push_event (send_rtp_sink, event);
|
gst_pad_push_event (send_rtp_sink, event);
|
||||||
gst_object_unref (send_rtp_sink);
|
gst_object_unref (send_rtp_sink);
|
||||||
} else {
|
|
||||||
gst_structure_free (twcc_packets);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (send_rtp_src) {
|
if (send_rtp_src) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user