aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2004-09-19 10:27:46 +0000
committerMax Khon <fjoe@FreeBSD.org>2004-09-19 10:27:46 +0000
commit9cf3607da2b6015e0fe247c7458c99454aea1d76 (patch)
treec3f8689cd52dfeaf83eb9442ebb7c249cdece855 /sys
parentf4d2631187396ca2043550876911062fd4c9dc16 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/geom/uzip/g_uzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/uzip/g_uzip.c b/sys/geom/uzip/g_uzip.c
index acb253b9796c..747ca5625faf 100644
--- a/sys/geom/uzip/g_uzip.c
+++ b/sys/geom/uzip/g_uzip.c
@@ -424,7 +424,7 @@ g_uzip_taste(struct g_class *mp, struct g_provider *pp, int flags)
for (blk = 1; offsets_read < total_offsets; blk++) {
uint32_t nread;
- free(buf, M_GEOM_UZIP);
+ free(buf, M_GEOM);
buf = g_read_data(
cp, blk * pp->sectorsize, pp->sectorsize, &error);
if (buf == NULL || error != 0)
@@ -470,7 +470,7 @@ err:
g_topology_lock();
g_access(cp, -1, 0, 0);
if (buf != NULL)
- free(buf, M_GEOM_UZIP);
+ free(buf, M_GEOM);
if (gp->softc != NULL) {
g_uzip_softc_free(gp->softc, NULL);
gp->softc = NULL;