nettimeprovider: Use non-freed variable
authorEdward Hervey <bilboed@bilboed.com>
Fri, 9 May 2014 12:46:59 +0000 (14:46 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 9 May 2014 12:46:59 +0000 (14:46 +0200)
address is only used temporarily. Use the proper variable instead.

CID #1212189

libs/gst/net/gstnettimeprovider.c

index d975812..8e030d7 100644 (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;