git: kernel - devfs - Fix memory leak in devfs_destroy_device_node()

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 18 11:49:29 PDT 2010


commit ab3436e772bb584b470f4932331462cc2e0852e5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Mar 18 11:46:16 2010 -0700

    kernel - devfs - Fix memory leak in devfs_destroy_device_node()
    
    * M_TEMP is used by devfs to allocate temporary PATH_MAX buffers
    
    * devfs had a memory leak in a particular failure case, fix it.
      This is likely the reported problem.
    
    Reported-by: John Marino <john at marino.st>

Summary of changes:
 sys/vfs/devfs/devfs_core.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list