aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-09-17 03:55:50 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-09-17 03:55:50 +0000
commit6874bcf242e56db2e61816a6c724b7105c9865cc (patch)
treecae6bbab86665aacb4bcbbea5f1eadabcf7cf61c
parentabd627ebb734f5cbb76453aa60760db8fc7dbda5 (diff)
Notes
-rw-r--r--sys/net/if_tap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_tap.c b/sys/net/if_tap.c
index 6bda09d32a89e..59b1780c2304c 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: