Author: jamie Date: Tue Aug 31 21:48:45 2010 New Revision: 212072 URL: http://svn.freebsd.org/changeset/base/212072
Log: Make it clear in the example that jailparam_export's return value should be freed. MFC after: 3 days Modified: head/lib/libjail/jail.3 Modified: head/lib/libjail/jail.3 ============================================================================== --- head/lib/libjail/jail.3 Tue Aug 31 20:56:18 2010 (r212071) +++ head/lib/libjail/jail.3 Tue Aug 31 21:48:45 2010 (r212072) @@ -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.hostnam jailparam_get(params, 2, 0); hostname = jailparam_export(¶ms[1]); jailparam_free(params, 2); +... +free(hostname); .Ed .Sh ERRORS The _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"