summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2016-11-17 06:21:03 (GMT)
committerchleun.moon <chleun.moon@samsung.com>2016-11-21 23:44:09 (GMT)
commit18975851482e3398b2c93ff36c6461794d932df1 (patch)
tree1d3def7aef2e918445d77868400c4486cf1b1ca6
parentaa7f91f2aa4310c5e11cd550ea374b7ae8afcb58 (diff)
downloadconnman-18975851482e3398b2c93ff36c6461794d932df1.zip
connman-18975851482e3398b2c93ff36c6461794d932df1.tar.gz
connman-18975851482e3398b2c93ff36c6461794d932df1.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);