From owner-cvs-all Mon Jun 4 17: 3: 8 2001 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 1D5E137B401; Mon, 4 Jun 2001 17:03:02 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id CAA76121; Tue, 5 Jun 2001 02:03:00 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Paul Richards Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/mailwrapper mailwrapper.c References: <200106040422.f544Mwd31406@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: 05 Jun 2001 02:02:59 +0200 In-Reply-To: <200106040422.f544Mwd31406@freefall.freebsd.org> Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Paul Richards writes: > Log: > You can't free a string and then use it as the error message to > errx. Instead use warn to print the string, then cleanup and exit > normally. If you're going to exit() anyway, you don't need to bother freeing the string. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message