Date: Fri, 3 Sep 2010 15:33:15 +0000 (UTC) From: Jamie Gritton <jamie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r212178 - stable/8/lib/libjail Message-ID: <201009031533.o83FXF73053341@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009031533.o83FXF73053341>