summaryrefslogtreecommitdiff
path: root/src/timeserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeserver.c')
-rw-r--r--src/timeserver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timeserver.c b/src/timeserver.c
index 4c25d4b8..d23776fa 100644
--- a/src/timeserver.c
+++ b/src/timeserver.c
@@ -413,6 +413,9 @@ static void ts_reset(struct connman_service *service)
g_slist_free_full(timeservers_list, g_free);
+ g_slist_free_full(ts_list, g_free);
+ ts_list = NULL;
+
timeservers_list = __connman_timeserver_get_all(service);
__connman_service_timeserver_changed(service, timeservers_list);