git: nfs - Avoid memory leakage when unloading the nfs module.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Sep 20 00:09:46 PDT 2018


commit f4aeef67f55881dd79267697a869634dcfbf3590
Author: Imre Vadász <imre at vdsz.com>
Date:   Wed Sep 5 21:59:55 2018 +0200

    nfs - Avoid memory leakage when unloading the nfs module.
    
    * This adds some missing objcache_destroy and hashdestroy calls in the nfs
      module unload codepath.

Summary of changes:
 sys/vfs/nfs/nfs.h          |  2 ++
 sys/vfs/nfs/nfs_node.c     |  7 +++++++
 sys/vfs/nfs/nfs_srvcache.c | 10 ++++++++++
 sys/vfs/nfs/nfs_subs.c     |  5 +++++
 4 files changed, 24 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f4aeef67f55881dd79267697a869634dcfbf3590


-- 
DragonFly BSD source repository



More information about the Commits mailing list