projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40b5b32
)
nettimeprovider: Use non-freed variable
author
Edward Hervey
<bilboed@bilboed.com>
Fri, 9 May 2014 12:46:59 +0000
(14:46 +0200)
committer
Edward 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
patch
|
blob
|
history
diff --git
a/libs/gst/net/gstnettimeprovider.c
b/libs/gst/net/gstnettimeprovider.c
index
d975812
..
8e030d7
100644
(file)
--- a/
libs/gst/net/gstnettimeprovider.c
+++ b/
libs/gst/net/gstnettimeprovider.c
@@
-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;