看板 DFBSD_commit 關於我們 聯絡資訊
commit ddac2002e1c0b5c573dc3e05d7d2ebbab9547af6 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Aug 12 18:55:20 2010 -0700 kernel - Fix pty registration, memory leak * Properly unregister the pt_ioctl before freeing it. * Free the pt_ioctl structure after destroying the device, fixing a memory leak. * Fix races in the sysctl_proc which iterates the tty list by using a marker. Summary of changes: sys/kern/tty.c | 45 ++++++++++++++++++++++++++------------------- sys/kern/tty_pty.c | 17 ++++++++++++++--- sys/sys/tty.h | 6 ++++-- 3 files changed, 44 insertions(+), 24 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ddac2002e1c0b5c573dc3e05d7d2ebbab9547af6 -- DragonFly BSD source repository