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:
0735c05
)
nettimeprovider: remove unnecessary NULL check
author
Tim-Philipp Müller
<tim@centricular.com>
Mon, 30 Dec 2013 16:10:08 +0000
(16:10 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 30 Dec 2013 16:10:08 +0000
(16:10 +0000)
Error is never NULL when we break out of the loop.
COVERITY CID 1037151
libs/gst/net/gstnettimeprovider.c
patch
|
blob
|
history
diff --git
a/libs/gst/net/gstnettimeprovider.c
b/libs/gst/net/gstnettimeprovider.c
index
202b6c7
..
ebe570c
100644
(file)
--- a/
libs/gst/net/gstnettimeprovider.c
+++ b/
libs/gst/net/gstnettimeprovider.c
@@
-209,8
+209,7
@@
gst_net_time_provider_thread (gpointer data)
}
}
- if (err != NULL)
- g_error_free (err);
+ g_error_free (err);
GST_INFO_OBJECT (self, "time provider thread is stopping");
return NULL;