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:
Tim-Philipp Müller 2015-03-13 18:38:42 +00:00
parent 7b90bf3215
commit 3c595f308a

View file

@ -648,7 +648,6 @@ gst_udp_address_get_string (GSocketAddress * addr, gchar * s, gsize size)
addr_str = g_inet_address_to_string (ia);
g_snprintf (s, size, "%s:%u", addr_str, g_inet_socket_address_get_port (isa));
g_free (addr_str);
g_object_unref (ia);
return s;
}