Commit 2ea58325 authored by Joe Thornber's avatar Joe Thornber Committed by Greg Kroah-Hartman

[PATCH] dm: fix memory leak

parent b27b7670
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment