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
parent 40b5b32803
commit bf9018b77c

View file

@ -322,7 +322,8 @@ gst_net_time_provider_start (GstNetTimeProvider * self)
GST_DEBUG_OBJECT (self, "notifying port %d", 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);
self->priv->socket = socket;