kernel: Use hashdestroy() to free hash tables allocated with hashinit().
authorSascha Wildner <saw@online.de>
Thu, 7 Jun 2012 17:19:09 +0000 (19:19 +0200)
committerSascha Wildner <saw@online.de>
Thu, 7 Jun 2012 17:19:32 +0000 (19:19 +0200)
commite46d128d7f60096b827c4db45143adbd55539556
tree390a12351eb8fc71791232728713aaf19821e63f
parent38c2ea22869e047d3a36274d1411cb107289975a
kernel: Use hashdestroy() to free hash tables allocated with hashinit().

It asserts that the table is empty before kfree()ing it.
sys/kern/kern_event.c
sys/kern/vfs_sync.c
sys/netinet/sctp_pcb.c
sys/vfs/fdesc/fdesc_vnops.c
sys/vfs/hpfs/hpfs.h
sys/vfs/hpfs/hpfs_hash.c
sys/vfs/ntfs/ntfs.h
sys/vfs/ntfs/ntfs_ihash.c
sys/vfs/nwfs/nwfs_node.c
sys/vfs/smbfs/smbfs_vfsops.c