Date: Sat, 12 Dec 2009 22:00:12 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-bugs@FreeBSD.org Subject: Re: bin/141359: commit references a PR Message-ID: <200912122200.nBCM0CmP044184@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/141359; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/141359: commit references a PR Date: Sat, 12 Dec 2009 21:59:42 +0000 (UTC) Author: jamie Date: Sat Dec 12 21:59:30 2009 New Revision: 200449 URL: http://svn.freebsd.org/changeset/base/200449 Log: 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 Modified: head/usr.sbin/jls/jls.c Modified: head/usr.sbin/jls/jls.c ============================================================================== --- head/usr.sbin/jls/jls.c Sat Dec 12 21:51:50 2009 (r200448) +++ head/usr.sbin/jls/jls.c Sat Dec 12 21:59:30 2009 (r200449) @@ -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); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912122200.nBCM0CmP044184>