git: kernel - Fix kernel memory leak in devfs disk_probe()
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Mar 16 14:32:00 PDT 2010
commit 666ec8331837ca6b5c5a081cb8a0bc0c48121895
Author: Matthew Dillon <dillon at 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 at 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
More information about the Commits
mailing list