From owner-svn-src-head@FreeBSD.ORG Tue Jun 18 15:04:17 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A1A61404; Tue, 18 Jun 2013 15:04:17 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 933CC1F45; Tue, 18 Jun 2013 15:04:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5IF4Hgw096122; Tue, 18 Jun 2013 15:04:17 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5IF4H36096121; Tue, 18 Jun 2013 15:04:17 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <201306181504.r5IF4H36096121@svn.freebsd.org> From: Alexander Motin Date: Tue, 18 Jun 2013 15:04:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251945 - head/sys/dev/ata/chipsets X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 15:04:17 -0000 Author: mav Date: Tue Jun 18 15:04:17 2013 New Revision: 251945 URL: http://svnweb.freebsd.org/changeset/base/251945 Log: Pass proper memory type to free() in ata_ali_chipinit(). Submitted by: Dmitry Luhtionov MFC after: 1 week Modified: head/sys/dev/ata/chipsets/ata-acerlabs.c Modified: head/sys/dev/ata/chipsets/ata-acerlabs.c ============================================================================== --- head/sys/dev/ata/chipsets/ata-acerlabs.c Tue Jun 18 15:02:53 2013 (r251944) +++ head/sys/dev/ata/chipsets/ata-acerlabs.c Tue Jun 18 15:04:17 2013 (r251945) @@ -133,7 +133,7 @@ ata_ali_chipinit(device_t dev) for (i--; i >=0; i--) bus_release_resource(dev, SYS_RES_IOPORT, PCIR_BAR(i), res->bars[i]); - free(res, M_TEMP); + free(res, M_ATAPCI); return ENXIO; } }