Create vconf related to .NET as a file in RO location
[platform/core/dotnet/launcher.git] / NativeLauncher / util / path_manager.cc
index a91cad6..2eac3b7 100644 (file)
@@ -81,11 +81,11 @@ PathManager::PathManager() :
        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);
        }