Commit 8da83759 authored by Jan Schmidt's avatar Jan Schmidt
Browse files

sendonly: Fix transceivers leak.

Make sure to unref the transceivers array after use.
parent 7445fc49
......@@ -196,6 +196,7 @@ create_receiver_entry (SoupWebsocketConnection * connection)
g_assert (transceivers != NULL && transceivers->len > 0);
trans = g_array_index (transceivers, GstWebRTCRTPTransceiver *, 0);
g_array_unref (transceivers);
g_signal_connect (receiver_entry->webrtcbin, "on-negotiation-needed",
G_CALLBACK (on_negotiation_needed_cb), (gpointer) receiver_entry);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment