Fix a typo in r278137: make sure to free provider state.

X-MFC-With:     r278136
This commit is contained in:
Mark Johnston 2015-02-08 03:55:12 +00:00
parent 2f99b597e0
commit 3277b9a257
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278370

View File

@ -16881,7 +16881,7 @@ dtrace_dtr(void *data)
#ifdef illumos
dtrace_state_destroy(state);
#else
if (state == NULL) {
if (state != NULL) {
dtrace_state_destroy(state);
kmem_free(state, 0);
}