Commit 6722f3fb authored by Nils Goroll's avatar Nils Goroll

polish

parent 3616d98b
...@@ -485,9 +485,9 @@ node_fini(struct req *req, struct node *node) ...@@ -485,9 +485,9 @@ node_fini(struct req *req, struct node *node)
case T_CRC: case T_CRC:
break; break;
case T_NEXUS: case T_NEXUS:
if (node->req == NULL || node->parent == NULL) /* root req owned by varnish-cache */
if (node->parent == NULL)
break; break;
// XXX SHOULD HAPPEN EARLIER
req_fini(&node->req, req->wrk); req_fini(&node->req, req->wrk);
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment