git: kernel: Use hashdestroy() to free hash tables allocated with hashinit().
Sascha Wildner
swildner at crater.dragonflybsd.org
Thu Jun 7 10:19:58 PDT 2012
commit e46d128d7f60096b827c4db45143adbd55539556
Author: Sascha Wildner <saw at online.de>
Date: Thu Jun 7 19:19:09 2012 +0200
kernel: Use hashdestroy() to free hash tables allocated with hashinit().
It asserts that the table is empty before kfree()ing it.
Summary of changes:
sys/kern/kern_event.c | 2 +-
sys/kern/vfs_sync.c | 2 +-
sys/netinet/sctp_pcb.c | 5 +++--
sys/vfs/fdesc/fdesc_vnops.c | 2 +-
sys/vfs/hpfs/hpfs.h | 2 --
sys/vfs/hpfs/hpfs_hash.c | 6 ++----
sys/vfs/ntfs/ntfs.h | 2 --
sys/vfs/ntfs/ntfs_ihash.c | 6 ++----
sys/vfs/nwfs/nwfs_node.c | 2 +-
sys/vfs/smbfs/smbfs_vfsops.c | 5 +++--
10 files changed, 14 insertions(+), 20 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e46d128d7f60096b827c4db45143adbd55539556
--
DragonFly BSD source repository
More information about the Commits
mailing list