summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-06-18 15:04:17 +0000
committermav <mav@FreeBSD.org>2013-06-18 15:04:17 +0000
commit4066c6ff517a8b0f7d40d91408494cec304180a1 (patch)
treee4ca518166ce908c138787f269a8ebfe6f918b08
parentaa5efa722ca64c89d3f9e67e44f6216b922c2e94 (diff)
downloadFreeBSD-src-4066c6ff517a8b0f7d40d91408494cec304180a1.zip
FreeBSD-src-4066c6ff517a8b0f7d40d91408494cec304180a1.tar.gz
Pass proper memory type to free() in ata_ali_chipinit().
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
-rw-r--r--sys/dev/ata/chipsets/ata-acerlabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/chipsets/ata-acerlabs.c b/sys/dev/ata/chipsets/ata-acerlabs.c
index e07348b..cddae26 100644
--- a/sys/dev/ata/chipsets/ata-acerlabs.c
+++ b/sys/dev/ata/chipsets/ata-acerlabs.c
@@ -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;
}
}
OpenPOWER on IntegriCloud