Commit 80cf8077 by hallyn

Merge pull request #358 from silvio/sfr/bugfix-freed-return-value

lxc/utils: bugfix freed pointer return value
parents 40580b46 a1c9a9c9
...@@ -376,6 +376,7 @@ const char *lxc_global_config_value(const char *option_name) ...@@ -376,6 +376,7 @@ const char *lxc_global_config_value(const char *option_name)
user_lxc_path = copy_global_config_value(p); user_lxc_path = copy_global_config_value(p);
remove_trailing_slashes(user_lxc_path); remove_trailing_slashes(user_lxc_path);
values[i] = user_lxc_path; values[i] = user_lxc_path;
user_lxc_path = NULL;
goto out; goto out;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment