From owner-p4-projects@FreeBSD.ORG Fri Jan 28 14:22:11 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A1DBF16A4D0; Fri, 28 Jan 2005 14:22:10 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EF4C16A4CE for ; Fri, 28 Jan 2005 14:22:10 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47F9E43D39 for ; Fri, 28 Jan 2005 14:22:10 +0000 (GMT) (envelope-from des@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0SEMAeu025970 for ; Fri, 28 Jan 2005 14:22:10 GMT (envelope-from des@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0SEMAPj025967 for perforce@freebsd.org; Fri, 28 Jan 2005 14:22:10 GMT (envelope-from des@freebsd.org) Date: Fri, 28 Jan 2005 14:22:10 GMT Message-Id: <200501281422.j0SEMAPj025967@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to des@freebsd.org using -f From: Dag-Erling Smorgrav To: Perforce Change Reviews Subject: PERFORCE change 69878 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 14:22:11 -0000 http://perforce.freebsd.org/chv.cgi?CH=69878 Change 69878 by des@des.at.des.thinksec.com on 2005/01/28 14:21:35 Use FREE() instead of free(). Affected files ... .. //depot/projects/openpam/lib/openpam_free_envlist.c#2 edit Differences ... ==== //depot/projects/openpam/lib/openpam_free_envlist.c#2 (text+ko) ==== @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/openpam/lib/openpam_free_envlist.c#1 $ + * $P4: //depot/projects/openpam/lib/openpam_free_envlist.c#2 $ */ #include @@ -49,8 +49,8 @@ if (envlist == NULL) RETURNV(); for (env = envlist; *env != NULL; ++env) - free(*env); - free(envlist); + FREE(*env); + FREE(envlist); RETURNV(); }