diff options
author | pjd <pjd@FreeBSD.org> | 2004-09-14 18:32:05 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-09-14 18:32:05 +0000 |
commit | f129890dbf243461b280ab5ae875b6161126e0b3 (patch) | |
tree | a8741ec6f8e9b000f1a64d24a1d2620ffd5bf40f /sys/dev/md | |
parent | e0ae5e463bbc5dbb18e3539a2af0d6e0757b490b (diff) | |
download | FreeBSD-src-f129890dbf243461b280ab5ae875b6161126e0b3.zip FreeBSD-src-f129890dbf243461b280ab5ae875b6161126e0b3.tar.gz |
Fix UMA zone leak.
Diffstat (limited to 'sys/dev/md')
-rw-r--r-- | sys/dev/md/md.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index e18dd10..eb435c7 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -828,6 +828,7 @@ mdcreate_malloc(struct md_ioctl *mdio) } } if (error) { + uma_zdestroy(sc->uma); mddestroy(sc, NULL); return (error); } |