Module Name: src
Committed By: msaitoh
Date: Fri Apr 26 09:04:44 UTC 2013
Modified Files:
src/sys/kern: kern_drvctl.c
Log Message:
Fix memory leak on the following cases when device attached or detached:
- No one open drvctl.
- kmem_alloc() failed in devmon_insert().
XXX pullup to both netbsd-5 and netbsd-6.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/kern/kern_drvctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.