Address node in a less complex way.

Approved by:	julian (mentor)
This commit is contained in:
Gleb Smirnoff 2004-07-29 08:05:02 +00:00
parent a732e584d0
commit bb3e8b0bd1

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