Fix copy and paste error; Coverity CID 214191

This commit is contained in:
Todd C. Miller
2020-09-03 13:23:27 -06:00
parent 24d5ee5893
commit 8a8a24560e
2 changed files with 2 additions and 2 deletions

View File

@@ -3414,7 +3414,7 @@ free_privilege(struct privilege *priv)
free(cs->runcwd);
}
if (cs->runchroot != runchroot) {
runcwd = cs->runchroot;
runchroot = cs->runchroot;
free(cs->runchroot);
}
#ifdef HAVE_SELINUX