1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-14 14:55:41 +00:00

Fix UMA zone leak.

This commit is contained in:
Pawel Jakub Dawidek 2004-09-14 18:32:05 +00:00
parent b593dd82f7
commit f9963bbc08
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135239

View File

@ -828,6 +828,7 @@ mdcreate_malloc(struct md_ioctl *mdio)
}
}
if (error) {
uma_zdestroy(sc->uma);
mddestroy(sc, NULL);
return (error);
}