DragonFly BSD
DragonFly commits List (threaded) for 2012-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel: Use hashdestroy() to free hash tables allocated with hashinit().


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Jun 2012 10:19:58 -0700 (PDT)

commit e46d128d7f60096b827c4db45143adbd55539556
Author: Sascha Wildner <saw@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]