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

看板DFBSD_commit作者時間16年前 (2010/03/17 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Bd_-YUF (DFBSD_commit)