From a34250a5a0c244200b62c37bc74c69329fc203d7 Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 8 Jan 2001 06:28:30 +0000 Subject: Bad julian.. forgot to destroy mutex before freeing the structure it was part of! --- sys/netgraph/ng_base.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/netgraph/ng_base.c') diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index 975f8fb..21d8689 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -697,6 +697,7 @@ ng_unref_node(node_p node) LIST_REMOVE(node, nd_idnodes); mtx_exit(&ng_idhash_mtx, MTX_DEF); + mtx_destroy(&node->nd_input_queue.q_mtx); NG_FREE_NODE(node); } } -- cgit v1.1