Subject: NULLFS: properly destroy node hash
Use hashdestroy() instead of naive free(). Approved by: kib MFC after: 2 weeks
This commit is contained in:
parent
49da75c9f6
commit
15c75a0d9f
@ -90,7 +90,7 @@ nullfs_uninit(vfsp)
|
||||
{
|
||||
|
||||
mtx_destroy(&null_hashmtx);
|
||||
free(null_node_hashtbl, M_NULLFSHASH);
|
||||
hashdestroy(null_node_hashtbl, M_NULLFSHASH, null_node_hash);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user