diff --git a/subprojects/gst-examples/webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv.c b/subprojects/gst-examples/webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv.c index 095c049c40..c7b2d25c88 100644 --- a/subprojects/gst-examples/webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv.c +++ b/subprojects/gst-examples/webrtc/multiparty-sendrecv/gst/mp-webrtc-sendrecv.c @@ -389,9 +389,6 @@ add_peer_to_pipeline (const gchar * peer_id, gboolean offer) g_assert_true (ret); ret = gst_element_sync_state_with_parent (webrtc); g_assert_true (ret); - - gst_object_unref (q); - gst_object_unref (webrtc); } static void