]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't rearm callout if the process is exiting, it may leak a callout
authorDavid Xu <davidxu@FreeBSD.org>
Fri, 24 Oct 2008 01:09:24 +0000 (01:09 +0000)
committerDavid Xu <davidxu@FreeBSD.org>
Fri, 24 Oct 2008 01:09:24 +0000 (01:09 +0000)
commit300fa5ef6ee1ca34a61015fc86b09bdb9f9c289e
tree9bef7ea6ed5001457ae4aa2021b42b9b7a731f58
parent6406fd0be66faaad408805c6f8a74d08e884fdd1
Don't rearm callout if the process is exiting, it may leak a callout
because callout_drain() only waits for running callout, but not disable
it if it is rearmed.
sys/kern/kern_resource.c