Fix a typo in r278137: make sure to free provider state.
X-MFC-With: r278136
This commit is contained in:
parent
2f99b597e0
commit
3277b9a257
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278370
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user