Skip to content

Commit

Permalink
confile: cleanup clr_config_init_cwd()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Dec 8, 2020
1 parent df45b76 commit 5fab421
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lxc/confile.c
Expand Up @@ -4937,8 +4937,7 @@ static inline int clr_config_init_cmd(const char *key, struct lxc_conf *c,
static inline int clr_config_init_cwd(const char *key, struct lxc_conf *c,
void *data)
{
free(c->init_cwd);
c->init_cwd = NULL;
free_disarm(c->init_cwd);
return 0;
}

Expand Down

0 comments on commit 5fab421

Please sign in to comment.