[TSAM-10847] starter has stoped unexpectedly 14/102614/1
authorjunkyu han <junkyu.han@samsung.com>
Tue, 6 Dec 2016 07:55:46 +0000 (16:55 +0900)
committerjunkyu han <junkyu.han@samsung.com>
Tue, 6 Dec 2016 07:56:20 +0000 (16:56 +0900)
Change-Id: Iaeee7b04e13ad5c2f88b2b94c1cc564d7ca12577

src/status.c

index e0a6436..68a61e1 100644 (file)
@@ -235,7 +235,7 @@ static void _status_passive_change_cb(keynode_t* node, void *data)
 
                if (tmp) {
                        free(s_status_passive.wms_clocks_set_idle);
-                       s_status_passive.wms_clocks_set_idle = tmp;
+                       s_status_passive.wms_clocks_set_idle = strdup(tmp);
                }
        } else if (!strcmp(key_name, VCONFKEY_SETAPPL_AMBIENT_MODE_BOOL)) {
                s_status_passive.setappl_ambient_mode_bool = vconf_keynode_get_int(node);