webrtc: nice: WeakRef access fixes
authorPhilippe Normand <philn@igalia.com>
Sat, 30 Jul 2022 16:28:41 +0000 (17:28 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 1 Aug 2022 13:13:16 +0000 (13:13 +0000)
commit4bf62c788cf3e60848d0dd5903afb2f2b992db5f
treebd34908b49ffb5d9597301031cf63198fbce53b8
parent3bdf3455a06092c3fe54b7f7f4e1831a39d7944d
webrtc: nice: WeakRef access fixes

The GstWebRTCNiceStream::ice property getter already hands-off a full reference,
so there is no need to call g_weak_ref_get() in call sites.

Fixes #1350

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2819>
subprojects/gst-plugins-bad/gst-libs/gst/webrtc/nice/nice.c
subprojects/gst-plugins-bad/gst-libs/gst/webrtc/nice/nicestream.c
subprojects/gst-plugins-bad/gst-libs/gst/webrtc/nice/nicetransport.c