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

Plug minor leak when we cancel a loading VCL

parent 695cc7f7
......@@ -721,6 +721,7 @@ vcl_cancel_load(VRT_CTX, struct cli *cli, const char *name, const char *step)
*ctx->handling = 0;
AZ(vcl->conf->event_vcl(ctx, VCL_EVENT_DISCARD));
vcl_KillBackends(vcl);
free(vcl->loaded_name);
VCL_Close(&vcl);
}
......
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