diff options
author | glebius <glebius@FreeBSD.org> | 2004-07-29 08:05:02 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2004-07-29 08:05:02 +0000 |
commit | 9cfc8592d316a9a16911b6e171312132fa5b65f2 (patch) | |
tree | 326b23cae6d3207343c7de203c574d3708f28556 | |
parent | 371c44fbe114734209472db63266354ddf0ab829 (diff) | |
download | FreeBSD-src-9cfc8592d316a9a16911b6e171312132fa5b65f2.zip FreeBSD-src-9cfc8592d316a9a16911b6e171312132fa5b65f2.tar.gz |
Address node in a less complex way.
Approved by: julian (mentor)
-rw-r--r-- | sys/netgraph/ng_sample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_sample.c b/sys/netgraph/ng_sample.c index b41cee2..4bb4684 100644 --- a/sys/netgraph/ng_sample.c +++ b/sys/netgraph/ng_sample.c @@ -422,7 +422,7 @@ ng_xxx_shutdown(node_p node) #ifndef PERSISTANT_NODE NG_NODE_SET_PRIVATE(node, NULL); - NG_NODE_UNREF(privdata->node); + NG_NODE_UNREF(node); FREE(privdata, M_NETGRAPH); #else if (node->nd_flags & NGF_REALLY_DIE) { |