mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-12 13:20:30 +00:00
don't use cgroup_path_components un-initialized
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
33ad9f1ab1
commit
001b026e7d
@ -538,7 +538,7 @@ struct cgroup_process_info *lxc_cgroup_process_info_get_self(struct cgroup_meta_
|
|||||||
/* create a new cgroup */
|
/* create a new cgroup */
|
||||||
extern struct cgroup_process_info *lxc_cgroup_create(const char *name, const char *path_pattern, struct cgroup_meta_data *meta_data, const char *sub_pattern)
|
extern struct cgroup_process_info *lxc_cgroup_create(const char *name, const char *path_pattern, struct cgroup_meta_data *meta_data, const char *sub_pattern)
|
||||||
{
|
{
|
||||||
char **cgroup_path_components;
|
char **cgroup_path_components = NULL;
|
||||||
char **p = NULL;
|
char **p = NULL;
|
||||||
char *path_so_far = NULL;
|
char *path_so_far = NULL;
|
||||||
char **new_cgroup_paths = NULL;
|
char **new_cgroup_paths = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user