From owner-cvs-all@FreeBSD.ORG Mon Apr 18 03:45:23 2005 Return-Path: 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 7BDD216A4CE; Mon, 18 Apr 2005 03:45:23 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5266A43D53; Mon, 18 Apr 2005 03:45:23 +0000 (GMT) (envelope-from delphij@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 j3I3jNTV053316; Mon, 18 Apr 2005 03:45:23 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3I3jNsF053315; Mon, 18 Apr 2005 03:45:23 GMT (envelope-from delphij) Message-Id: <200504180345.j3I3jNsF053315@repoman.freebsd.org> From: Xin LI Date: Mon, 18 Apr 2005 03:45:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/net getservent.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 18 Apr 2005 03:45:23 -0000 delphij 2005-04-18 03:45:23 UTC FreeBSD src repository Modified files: lib/libc/net getservent.c Log: Do not check whether a pointer is NULL, since free(3) already takes care of this case. Reviewed by: ume Revision Changes Path 1.17 +3 -6 src/lib/libc/net/getservent.c