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:
Jamie Gritton 2009-12-12 21:59:30 +00:00
parent f25291f3a1
commit 4576bbe233
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200449

View File

@ -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);
}