From 0735c052e178e6a318a19df6622ee767ed063786 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 30 Dec 2013 16:05:47 +0000 Subject: [PATCH] Revert "nettimeprovider: Remove dead code" This reverts commit 9649cd4ca19a75d0319117a77a7609e4b8c96533. This is not right, and it's also not what coverity is complaining about. --- libs/gst/net/gstnettimeprovider.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/gst/net/gstnettimeprovider.c b/libs/gst/net/gstnettimeprovider.c index 84c7224..202b6c7 100644 --- a/libs/gst/net/gstnettimeprovider.c +++ b/libs/gst/net/gstnettimeprovider.c @@ -209,6 +209,9 @@ gst_net_time_provider_thread (gpointer data) } } + if (err != NULL) + g_error_free (err); + GST_INFO_OBJECT (self, "time provider thread is stopping"); return NULL; } -- 2.7.4