On 04/10/2012 10:28 AM, Jukka Rissanen wrote:
---
  src/timeserver.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/timeserver.c b/src/timeserver.c
index 2fcdb94..fedcbca 100644
--- a/src/timeserver.c
+++ b/src/timeserver.c
@@ -236,6 +236,8 @@ int __connman_timeserver_sync(struct connman_service 
*default_service)
        for (i=0; fallback_ts != NULL&&  fallback_ts[i] != NULL; i++)
                ts_list = g_slist_prepend(ts_list, g_strdup(fallback_ts[i]));

+       g_strfreev(fallback_ts);
+
        if (ts_list == NULL) {
                DBG("No timeservers set.");
                return 0;

This is actually not a bug so we must not do g_strfreev() here. Sorry about that.

Cheers,
Jukka

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to