Make it clear in the example that jailparam_export's return value

should be freed.

MFC after:	3 days
This commit is contained in:
Jamie Gritton 2010-08-31 21:48:45 +00:00
parent 175f87424f
commit fa04d5d393
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212072

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd June 24, 2009
.Dd August 31, 2010
.Dt JAIL 3
.Os
.Sh NAME
@ -248,6 +248,8 @@ jailparam_init(&params[1], "host.hostname");
jailparam_get(params, 2, 0);
hostname = jailparam_export(&params[1]);
jailparam_free(params, 2);
...
free(hostname);
.Ed
.Sh ERRORS
The