webrtcbin: Chain up to parent constructed method
authorJakub Adam <jakub.adam@collabora.com>
Thu, 27 Jan 2022 16:56:29 +0000 (17:56 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 27 Jan 2022 17:43:18 +0000 (17:43 +0000)
Failing to do so makes GstWebRTCBin invisible to the leaks tracer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1587>

subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c

index fbbba46588702b7fbf180710dde68be33979833e..9d5b2633ffd039c214d2bf83181687792f009f70 100644 (file)
@@ -7309,6 +7309,8 @@ gst_webrtc_bin_constructed (GObject * object)
       (GstWebRTCIceOnCandidateFunc) _on_local_ice_candidate_cb, webrtc, NULL);
 
   g_free (name);
+
+  G_OBJECT_CLASS (parent_class)->constructed (object);
 }
 
 static void