Skip to content

Commit

Permalink
Revert "Set c to NULL after freeing it"
Browse files Browse the repository at this point in the history
Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
  • Loading branch information
caglar10ur authored and Christian Brauner committed Apr 10, 2019
1 parent ed07f7b commit 9b10954
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lxc/lxccontainer.c
Expand Up @@ -296,7 +296,6 @@ static void lxc_container_free(struct lxc_container *c)
c->config_path = NULL;

free(c);
c = NULL;
}

/* Consider the following case:
Expand Down

0 comments on commit 9b10954

Please sign in to comment.