multiudpsink: fix GError memory leak when hostname resolution fails

https://bugzilla.gnome.org/show_bug.cgi?id=754869
This commit is contained in:
Vineeth TM 2015-09-11 17:09:28 +09:00 committed by Tim-Philipp Müller
parent f9c7dc2797
commit 2a7ba2955c

View file

@ -482,6 +482,7 @@ gst_udp_client_new (GstMultiUDPSink * sink, const gchar * host, gint port)
name_resolve:
{
g_clear_error (&err);
g_object_unref (resolver);
return NULL;