summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2014-05-09 14:46:59 +0200
committerTim-Philipp Müller <tim@centricular.com>2014-06-07 09:55:57 +0100
commitd8bdba3102712af27b2e957c0ba9690877a8e67c (patch)
treeed8fa95d7f548e49389dbf0baf5d77ef113472b9
parent7e0b990429730a799237a5e7b4eaeca9c2bb4562 (diff)
downloadgstreamer-d8bdba3102712af27b2e957c0ba9690877a8e67c.tar.gz
nettimeprovider: Use non-freed variable
address is only used temporarily. Use the proper variable instead. CID #1212189
-rw-r--r--libs/gst/net/gstnettimeprovider.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gst/net/gstnettimeprovider.c b/libs/gst/net/gstnettimeprovider.c
index 202b6c7968..cad816439e 100644
--- a/libs/gst/net/gstnettimeprovider.c
+++ b/libs/gst/net/gstnettimeprovider.c
@@ -325,7 +325,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;