nettimeprovider: remove unnecessary NULL check

Error is never NULL when we break out of the loop.

COVERITY CID 1037151
This commit is contained in:
Tim-Philipp Müller 2013-12-30 16:10:08 +00:00
parent 0735c052e1
commit 2ddbe8df49

View file

@ -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;