From owner-p4-projects@FreeBSD.ORG Sun Jul 3 13:57:54 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 829FB16A420; Sun, 3 Jul 2005 13:57:53 +0000 (GMT) X-Original-To: perforce@freebsd.org 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 4421E16A41C for ; Sun, 3 Jul 2005 13:57:53 +0000 (GMT) (envelope-from soc-andrew@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B3D243D46 for ; Sun, 3 Jul 2005 13:57:53 +0000 (GMT) (envelope-from soc-andrew@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 j63Dvqj5090755 for ; Sun, 3 Jul 2005 13:57:52 GMT (envelope-from soc-andrew@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j63DvqhD090752 for perforce@freebsd.org; Sun, 3 Jul 2005 13:57:52 GMT (envelope-from soc-andrew@freebsd.org) Date: Sun, 3 Jul 2005 13:57:52 GMT Message-Id: <200507031357.j63DvqhD090752@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to soc-andrew@freebsd.org using -f From: soc-andrew To: Perforce Change Reviews Cc: Subject: PERFORCE change 79475 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2005 13:57:54 -0000 http://perforce.freebsd.org/chv.cgi?CH=79475 Change 79475 by soc-andrew@soc-andrew_serv on 2005/07/03 13:57:38 Fix another memory leak in libaura Affected files ... .. //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/lib/aura/buffer.c#3 edit Differences ... ==== //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/lib/aura/buffer.c#3 (text+ko) ==== @@ -242,8 +242,10 @@ vasprintf(&command, fmt, args); va_end(args); - if ((p = popen(command, "r")) == NULL) + if ((p = popen(command, "r")) == NULL) { + free(command); return(0); + } free(command);