Commit c95cf86f by Serge Hallyn

Revert "Fix check against LXCROOTFSMOUNT to use strcmp"

This reverts commit 5bf2c5ce.
parent 8dff643f
...@@ -2576,7 +2576,7 @@ void lxc_conf_free(struct lxc_conf *conf) ...@@ -2576,7 +2576,7 @@ void lxc_conf_free(struct lxc_conf *conf)
return; return;
if (conf->console.path) if (conf->console.path)
free(conf->console.path); free(conf->console.path);
if (strcmp(conf->rootfs.mount, LXCROOTFSMOUNT) != 0) if (conf->rootfs.mount != LXCROOTFSMOUNT)
free(conf->rootfs.mount); free(conf->rootfs.mount);
lxc_clear_config_network(conf); lxc_clear_config_network(conf);
#if HAVE_APPARMOR #if HAVE_APPARMOR
......
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