10132 smatch fixes for MDB Reviewed by: Andy Fiddaman <andy@omniosce.org>
*** 2386,2396 **** kmt_defbp_destroy_all(); if (kmt->kmt_trapmap != NULL) mdb_free(kmt->kmt_trapmap, BT_SIZEOFMAP(kmt->kmt_trapmax)); - if (kmt != NULL) mdb_free(kmt, sizeof (kmt_data_t)); } static const mdb_tgt_ops_t kmt_ops = { kmt_setflags, /* t_setflags */ --- 2386,2395 ----