Date: Tue, 25 Jun 2013 07:05:09 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r252197 - stable/9/sys/dev/ata/chipsets Message-ID: <201306250705.r5P759pH006704@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue Jun 25 07:05:08 2013 New Revision: 252197 URL: http://svnweb.freebsd.org/changeset/base/252197 Log: MFC r251945: Pass proper memory type to free() in ata_ali_chipinit(). Modified: stable/9/sys/dev/ata/chipsets/ata-acerlabs.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modified: stable/9/sys/dev/ata/chipsets/ata-acerlabs.c ============================================================================== --- stable/9/sys/dev/ata/chipsets/ata-acerlabs.c Tue Jun 25 06:43:04 2013 (r252196) +++ stable/9/sys/dev/ata/chipsets/ata-acerlabs.c Tue Jun 25 07:05:08 2013 (r252197) @@ -134,7 +134,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; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306250705.r5P759pH006704>