diff --git a/sys/net/if_tap.c b/sys/net/if_tap.c index 6bda09d32a89..59b1780c2304 100644 --- a/sys/net/if_tap.c +++ b/sys/net/if_tap.c @@ -202,6 +202,8 @@ tapmodevent(mod, type, data) mtx_unlock(&tapmtx); clone_cleanup(&tapclones); + mtx_destroy(&tapmtx); + break; default: