Commit f319a348 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Plug minor leak when discarding a vcl

parent 67d5be2d
......@@ -475,6 +475,7 @@ vcl_KillBackends(struct vcl *vcl)
break;
VTAILQ_REMOVE(&vcl->director_list, d, vcl_list);
AN(d->destroy);
REPLACE(d->display_name, NULL);
d->destroy(d);
}
}
......
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