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:
parent
b593dd82f7
commit
f9963bbc08
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135239
@ -828,6 +828,7 @@ mdcreate_malloc(struct md_ioctl *mdio)
|
||||
}
|
||||
}
|
||||
if (error) {
|
||||
uma_zdestroy(sc->uma);
|
||||
mddestroy(sc, NULL);
|
||||
return (error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user