From owner-cvs-src@FreeBSD.ORG Wed Aug 20 01:25:37 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54EC116A4E8; Wed, 20 Aug 2003 01:25:37 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD8EB43F3F; Wed, 20 Aug 2003 01:25:36 -0700 (PDT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7K8Pa0U037857; Wed, 20 Aug 2003 01:25:36 -0700 (PDT) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7K8Pa4w037854; Wed, 20 Aug 2003 01:25:36 -0700 (PDT) Message-Id: <200308200825.h7K8Pa4w037854@repoman.freebsd.org> From: Hartmut Brandt Date: Wed, 20 Aug 2003 01:25:36 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/atm/atmconfig main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 08:25:37 -0000 harti 2003/08/20 01:25:36 PDT FreeBSD src repository Modified files: sbin/atm/atmconfig main.c Log: Get rid of a __DECONST by strdup'ing the string in question. When called this way the program just prints its help intro, so the memory leak is not a problem. Pointed out by: bde Revision Changes Path 1.2 +2 -1 src/sbin/atm/atmconfig/main.c