platformAssembliesPaths.push_back(runtimePath);
// set tizenfx path
- char* tmp = vconf_get_str(__TIZEN_API_PATH_KEY);
- if (tmp) {
- tizenfxPath = std::string(tmp);
- _DBG("Device API Directory is set by vconf : %s", tmp);
- free(tmp);
+ char* tizenfx_path = vconf_get_str(__TIZEN_API_PATH_KEY);
+ if (tizenfx_path) {
+ tizenfxPath = std::string(tizenfx_path);
+ _DBG("Device API Directory is set by vconf : %s", tizenfx_path);
+ free(tizenfx_path);
} else {
tizenfxPath = getAbsolutePath(__DEVICE_API_DIR);
}