svn commit: r212178 - stable/8/lib/libjail
Jamie Gritton
jamie at FreeBSD.org
Fri Sep 3 15:33:16 UTC 2010
Author: jamie
Date: Fri Sep 3 15:33:15 2010
New Revision: 212178
URL: http://svn.freebsd.org/changeset/base/212178
Log:
MFC r212072:
Make it clear in the example that jailparam_export's return value
should be freed.
Modified:
stable/8/lib/libjail/jail.3
Modified: stable/8/lib/libjail/jail.3
==============================================================================
--- stable/8/lib/libjail/jail.3 Fri Sep 3 14:25:17 2010 (r212177)
+++ stable/8/lib/libjail/jail.3 Fri Sep 3 15:33:15 2010 (r212178)
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 24, 2009
+.Dd August 31, 2010
.Dt JAIL 3
.Os
.Sh NAME
@@ -208,6 +208,8 @@ jailparam_init(¶ms[1], "host.hostnam
jailparam_get(params, 2, 0);
hostname = jailparam_export(¶ms[1]);
jailparam_free(params, 2);
+...
+free(hostname);
.Ed
.Sh RETURN VALUES
The
More information about the svn-src-stable
mailing list