mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
nettimeprovider: Use non-freed variable
address is only used temporarily. Use the proper variable instead. CID #1212189
This commit is contained in:
parent
7e0b990429
commit
d8bdba3102
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue