Address node in a less complex way.

Approved by:	julian (mentor)
This commit is contained in:
glebius 2004-07-29 08:05:02 +00:00
parent 9640046e37
commit 4bb0e0af97

View File

@ -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) {