From owner-cvs-src Wed Mar 19 6: 1:38 2003 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 2632637B401; Wed, 19 Mar 2003 06:01:37 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78ED843FAF; Wed, 19 Mar 2003 06:01:36 -0800 (PST) (envelope-from robert@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 h2JE1a0U060975; Wed, 19 Mar 2003 06:01:36 -0800 (PST) (envelope-from robert@repoman.freebsd.org) Received: (from robert@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2JE1ZlW060974; Wed, 19 Mar 2003 06:01:35 -0800 (PST) Message-Id: <200303191401.h2JE1ZlW060974@repoman.freebsd.org> From: Robert Drehmel Date: Wed, 19 Mar 2003 06:01:35 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen getgrent.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG robert 2003/03/19 06:01:35 PST FreeBSD src repository Modified files: lib/libc/gen getgrent.c Log: If realloc(3) fails in copyline(), do not make matters worse by leaving without deallocating `data' thereby creating a memory leak. Revision Changes Path 1.24 +11 -6 src/lib/libc/gen/getgrent.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message