nettimeprovider: Use non-freed variable

address is only used temporarily. Use the proper variable instead.

CID #1212189
This commit is contained in:
Edward Hervey 2014-05-09 14:46:59 +02:00 committed by Tim-Philipp Müller
parent 7e0b990429
commit d8bdba3102

View file

@ -325,7 +325,8 @@ gst_net_time_provider_start (GstNetTimeProvider * self)
GST_DEBUG_OBJECT (self, "notifying port %d", port); GST_DEBUG_OBJECT (self, "notifying port %d", port);
g_object_notify (G_OBJECT (self), "port"); g_object_notify (G_OBJECT (self), "port");
} }
GST_DEBUG_OBJECT (self, "bound on UDP address %s, port %d", address, port); GST_DEBUG_OBJECT (self, "bound on UDP address %s, port %d",
self->priv->address, port);
g_object_unref (bound_addr); g_object_unref (bound_addr);
self->priv->socket = socket; self->priv->socket = socket;