From owner-svn-src-stable@FreeBSD.ORG Fri Sep 3 15:33:16 2010 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A88D1065767; Fri, 3 Sep 2010 15:33:16 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 094318FC0A; Fri, 3 Sep 2010 15:33:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o83FXFZn053343; Fri, 3 Sep 2010 15:33:15 GMT (envelope-from jamie@svn.freebsd.org) Received: (from jamie@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o83FXF73053341; Fri, 3 Sep 2010 15:33:15 GMT (envelope-from jamie@svn.freebsd.org) Message-Id: <201009031533.o83FXF73053341@svn.freebsd.org> From: Jamie Gritton Date: Fri, 3 Sep 2010 15:33:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212178 - stable/8/lib/libjail X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 15:33:16 -0000 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