summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-03-13 18:38:42 +0000
committerTim-Philipp Müller <tim@centricular.com>2015-03-13 18:38:42 +0000
commit3c595f308a0a5454750700c31a0e4ed50962ac5f (patch)
tree824908e27bc615d2a14f53fa779caccadcc2d031 /gst
parent7b90bf32150897a141a29a12ecab555d8c5b7fab (diff)
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/udp/gstmultiudpsink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c
index a232479cc..c81dc620a 100644
--- a/gst/udp/gstmultiudpsink.c
+++ b/gst/udp/gstmultiudpsink.c
@@ -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;
}