Destroy the helper device when unloading.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Rui Paulo 2010-08-22 11:05:37 +00:00
parent 6c44520886
commit de788cde7b

View File

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