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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Mar 2010 14:30:54 -0700 (PDT)

commit 666ec8331837ca6b5c5a081cb8a0bc0c48121895
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Mar 16 14:29:14 2010 -0700

    kernel - Fix kernel memory leak in devfs disk_probe()
    
    * kfree() the old slices structure after installing a new one.
    
    * Do a minor refactoring of dsgone().
    
    * Possibly fixes a kernel memory leak generated by kde's CD probing.
    Reported-by: Pierre Abbat <phma@phma.optus.nu>

Summary of changes:
 sys/kern/subr_disk.c      |   24 ++++++++++++++----------
 sys/kern/subr_diskslice.c |   14 +++++++-------
 2 files changed, 21 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/666ec8331837ca6b5c5a081cb8a0bc0c48121895


-- 
DragonFly BSD source repository



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