From owner-cvs-src-old@FreeBSD.ORG Fri Oct 8 20:12:23 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 851331065673 for ; Fri, 8 Oct 2010 20:12:23 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7413E8FC08 for ; Fri, 8 Oct 2010 20:12:23 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o98KCNCs015815 for ; Fri, 8 Oct 2010 20:12:23 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o98KCNF3015814 for cvs-src-old@freebsd.org; Fri, 8 Oct 2010 20:12:23 GMT (envelope-from yongari@repoman.freebsd.org) Message-Id: <201010082012.o98KCNF3015814@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to yongari@repoman.freebsd.org using -f From: Pyun YongHyeon Date: Fri, 8 Oct 2010 20:12:00 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/dev/sis if_sis.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 20:12:23 -0000 yongari 2010-10-08 20:12:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/sis if_sis.c Log: SVN rev 213608 on 2010-10-08 20:12:00Z by yongari MFC r182065: There actually were bugs in the original handling that I missed last night. Free the children after each pci bus that is searched. Otherwise we leak them. With free in the new place, we also have to free children before going to done when we find the device we're looking for. Also, if we can't get the children of a device, just ignore that bus. Revision Changes Path 1.7.2.5 +4 -3 src/sys/dev/sis/if_sis.c