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

X-MFC-With:     r278136
This commit is contained in:
markj 2015-02-08 03:55:12 +00:00
parent e165a43065
commit 58755fa7f1

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);
}