mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
Don't free jail parameter values after printing them - jail_param_get
expects them to be there for the next jail in the list. PR: bin/141359 MFC after: 1 week
This commit is contained in:
parent
f25291f3a1
commit
4576bbe233
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200449
@ -425,11 +425,6 @@ print_jail(int pflags, int jflags)
|
||||
if (params[i].jp_flags & JP_USER)
|
||||
free(param_values[i]);
|
||||
}
|
||||
for (i = 0; i < nparams; i++)
|
||||
if (!(params[i].jp_flags & JP_RAWVALUE)) {
|
||||
free(params[i].jp_value);
|
||||
params[i].jp_value = NULL;
|
||||
}
|
||||
return (jid);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user