multiudpsink: fix GError memory leak when hostname resolution fails
https://bugzilla.gnome.org/show_bug.cgi?id=754869
This commit is contained in:
parent
f9c7dc2797
commit
2a7ba2955c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user