diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index eaeeb15358f72866a8931acb19840f1d5d22923b..2d7697c4624cac75782073367e5ab84a011eb830 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c @@ -238,6 +238,7 @@ void __hash_remove(struct hash_cell *hc) list_del(&hc->name_list); unregister_with_devfs(hc); dm_put(hc->md); + free_cell(hc); } void dm_hash_remove_all(void)