mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue