Fix copy and paste error; Coverity CID 214191
This commit is contained in:
@@ -3414,7 +3414,7 @@ free_privilege(struct privilege *priv)
|
|||||||
free(cs->runcwd);
|
free(cs->runcwd);
|
||||||
}
|
}
|
||||||
if (cs->runchroot != runchroot) {
|
if (cs->runchroot != runchroot) {
|
||||||
runcwd = cs->runchroot;
|
runchroot = cs->runchroot;
|
||||||
free(cs->runchroot);
|
free(cs->runchroot);
|
||||||
}
|
}
|
||||||
#ifdef HAVE_SELINUX
|
#ifdef HAVE_SELINUX
|
||||||
|
@@ -1323,7 +1323,7 @@ free_privilege(struct privilege *priv)
|
|||||||
free(cs->runcwd);
|
free(cs->runcwd);
|
||||||
}
|
}
|
||||||
if (cs->runchroot != runchroot) {
|
if (cs->runchroot != runchroot) {
|
||||||
runcwd = cs->runchroot;
|
runchroot = cs->runchroot;
|
||||||
free(cs->runchroot);
|
free(cs->runchroot);
|
||||||
}
|
}
|
||||||
#ifdef HAVE_SELINUX
|
#ifdef HAVE_SELINUX
|
||||||
|
Reference in New Issue
Block a user