svn commit: r252198 - stable/8/sys/dev/ata/chipsets

Alexander Motin mav at FreeBSD.org
Tue Jun 25 07:11:08 UTC 2013


Author: mav
Date: Tue Jun 25 07:11:07 2013
New Revision: 252198
URL: http://svnweb.freebsd.org/changeset/base/252198

Log:
  MFC r251945:
  Pass proper memory type to free() in ata_ali_chipinit().

Modified:
  stable/8/sys/dev/ata/chipsets/ata-acerlabs.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/ata/   (props changed)

Modified: stable/8/sys/dev/ata/chipsets/ata-acerlabs.c
==============================================================================
--- stable/8/sys/dev/ata/chipsets/ata-acerlabs.c	Tue Jun 25 07:05:08 2013	(r252197)
+++ stable/8/sys/dev/ata/chipsets/ata-acerlabs.c	Tue Jun 25 07:11:07 2013	(r252198)
@@ -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;
 		}
 	}


More information about the svn-src-all mailing list