Destroy the helper device when unloading.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
rpaulo 2010-08-22 11:05:37 +00:00
parent ed2c978b97
commit 9760737bfb

View File

@ -43,6 +43,7 @@ dtrace_unload()
}
#else
destroy_dev(dtrace_dev);
destroy_dev(helper_dev);
#endif
mutex_enter(&dtrace_provider_lock);