diff options
-rwxr-xr-x | src/timeserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeserver.c b/src/timeserver.c index 1828ccda..fc83f9ae 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); |