diff options
author | julian <julian@FreeBSD.org> | 2001-01-08 06:28:30 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-01-08 06:28:30 +0000 |
commit | a34250a5a0c244200b62c37bc74c69329fc203d7 (patch) | |
tree | 6c0512143db0f5546640a62268f6b56ee088a069 /sys/netgraph/ng_base.c | |
parent | 50c1c6f1acdc3c978691e7a43a64ca437ae65fd8 (diff) | |
download | FreeBSD-src-a34250a5a0c244200b62c37bc74c69329fc203d7.zip FreeBSD-src-a34250a5a0c244200b62c37bc74c69329fc203d7.tar.gz |
Bad julian.. forgot to destroy mutex before freeing the
structure it was part of!
Diffstat (limited to 'sys/netgraph/ng_base.c')
-rw-r--r-- | sys/netgraph/ng_base.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |