From owner-cvs-all@FreeBSD.ORG Sun Jan 1 20:19:49 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C239516A41F; Sun, 1 Jan 2006 20:19:49 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7244843D49; Sun, 1 Jan 2006 20:19:49 +0000 (GMT) (envelope-from ariff@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 k01KJnoK094087; Sun, 1 Jan 2006 20:19:49 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k01KJnck094086; Sun, 1 Jan 2006 20:19:49 GMT (envelope-from ariff) Message-Id: <200601012019.k01KJnck094086@repoman.freebsd.org> From: Ariff Abdullah Date: Sun, 1 Jan 2006 20:19:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/mixer mixer.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2006 20:19:49 -0000 ariff 2006-01-01 20:19:49 UTC FreeBSD src repository Modified files: usr.sbin/mixer mixer.c Log: - Fix possible memory leak due to repetetive strdup(3) without matching free(3). - print_recsrc() should honor shortflag and give appropriate output for later consumption by /etc/rc.d/mixer. This will ensure that recording device selections survived across reboot. Output everything to stdout instead if stderr. MFC after: 3 days Revision Changes Path 1.23 +21 -14 src/usr.sbin/mixer/mixer.c