Make it clear in the example that jailparam_export's return value
should be freed. MFC after: 3 days
This commit is contained in:
parent
175f87424f
commit
fa04d5d393
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212072
@ -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(¶ms[1], "host.hostname");
|
||||
jailparam_get(params, 2, 0);
|
||||
hostname = jailparam_export(¶ms[1]);
|
||||
jailparam_free(params, 2);
|
||||
...
|
||||
free(hostname);
|
||||
.Ed
|
||||
.Sh ERRORS
|
||||
The
|
||||
|
Loading…
Reference in New Issue
Block a user