svn commit: r252197 - stable/9/sys/dev/ata/chipsets

Alexander Motin mav at FreeBSD.org
Tue Jun 25 07:05:09 UTC 2013


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;
 		}
 	}


More information about the svn-src-stable-9 mailing list