Revert "Fix check against LXCROOTFSMOUNT to use strcmp"

This reverts commit 5bf2c5ce9b.
This commit is contained in:
Serge Hallyn 2012-11-13 17:50:35 -06:00
parent 8dff643f44
commit c95cf86f39

View File

@ -2576,7 +2576,7 @@ void lxc_conf_free(struct lxc_conf *conf)
return;
if (conf->console.path)
free(conf->console.path);
if (strcmp(conf->rootfs.mount, LXCROOTFSMOUNT) != 0)
if (conf->rootfs.mount != LXCROOTFSMOUNT)
free(conf->rootfs.mount);
lxc_clear_config_network(conf);
#if HAVE_APPARMOR