mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
multiudpsink: fix crash with GST_DEBUG enabled
g_inet_socket_address_get_address() does not give us a ref to the address, so don't unref it.
This commit is contained in:
parent
7b90bf3215
commit
3c595f308a
1 changed files with 0 additions and 1 deletions
|
@ -648,7 +648,6 @@ gst_udp_address_get_string (GSocketAddress * addr, gchar * s, gsize size)
|
||||||
addr_str = g_inet_address_to_string (ia);
|
addr_str = g_inet_address_to_string (ia);
|
||||||
g_snprintf (s, size, "%s:%u", addr_str, g_inet_socket_address_get_port (isa));
|
g_snprintf (s, size, "%s:%u", addr_str, g_inet_socket_address_get_port (isa));
|
||||||
g_free (addr_str);
|
g_free (addr_str);
|
||||||
g_object_unref (ia);
|
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue