webrtc/nice: fix small leak of split strings
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 14 Oct 2022 16:51:43 +0000 (18:51 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 14 Oct 2022 20:15:00 +0000 (20:15 +0000)
commitb10e0efd3aa6256ac42ca4440790fb5edebda619
tree1badccda96ea814a731f441279d101ad70fa6ab8
parent48e097c315083d83ffee4c324ffd53ec2b5056f3
webrtc/nice: fix small leak of split strings

g_strfreev previously stopped at our manual NULL-termination. Fix by
restoring the pointer after joining.

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