ristsink: Fix error handling on bad DNS
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 10 Jul 2020 22:03:20 +0000 (18:03 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 14 Jul 2020 20:48:04 +0000 (20:48 +0000)
commit89fbcc71d96370c0edb06bdc3e71a48d340f1f12
treeea4d99691569e6a73bc77c8b29a116537e618abb
parenta43d6f6cd9cf962838a1fdaafe4cb24509e8c8b1
ristsink: Fix error handling on bad DNS

This will properly print the DNS being attempted to resolved and avoid
trying to unref a NULL pointer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1433>
gst/rist/gstristsink.c