mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 05:17:54 +00:00
Fix copy and paste error; Coverity CID 214191
This commit is contained in:
parent
24d5ee5893
commit
8a8a24560e
@ -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
|
||||
|
@ -1323,7 +1323,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user