From owner-cvs-all Wed Apr 4 23:56:14 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3E1A837B449; Wed, 4 Apr 2001 23:56:11 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f356uBB51797; Wed, 4 Apr 2001 23:56:11 -0700 (PDT) (envelope-from alfred) Message-Id: <200104050656.f356uBB51797@freefall.freebsd.org> From: Alfred Perlstein Date: Wed, 4 Apr 2001 23:56:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/wi if_wi.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alfred 2001/04/04 23:56:10 PDT Modified files: sys/dev/wi if_wi.c Log: Don't leak resources: Don't leak iospace when irq allocation fails. (call wi_free()) Call bus_release_resource() with the correct "rid" obtained from bus_alloc_resource() that's saved in the softc instead of a hardcoded 0. Revision Changes Path 1.45 +13 -6 src/sys/dev/wi/if_wi.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message