summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2016-11-17 06:21:03 (GMT)
committerSaurav Babu <saurav.babu@samsung.com>2016-11-17 06:25:30 (GMT)
commit6f9fbb737fb0981d970209a68478ba6206c0d267 (patch)
treee22d753459bb89b0f9e4a29c08ccb8ab255064f2
parent95b786e003ae7eea2062fcc1bcdbd9d984144d70 (diff)
downloadconnman-6f9fbb737fb0981d970209a68478ba6206c0d267.zip
connman-6f9fbb737fb0981d970209a68478ba6206c0d267.tar.gz
connman-6f9fbb737fb0981d970209a68478ba6206c0d267.tar.bz2
Change-Id: Ic9416b95f7c070564c8c9956a12932d1122d7734 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
-rwxr-xr-xsrc/timeserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeserver.c b/src/timeserver.c
index 1828ccd..fc83f9a 100755
--- a/src/timeserver.c
+++ b/src/timeserver.c
@@ -91,7 +91,7 @@ static void resolv_result(GResolvResultStatus status, char **results,
#if defined TIZEN_EXT
gchar *server = NULL;
- server = (gchar *)user_data;
+ server = g_strdup((gchar *)user_data);
ts_list = g_slist_append(ts_list, server);
DBG("added server %s", server);