Commit 44f47f0f authored by Tollef Fog Heen's avatar Tollef Fog Heen

Avoid double-free of DNS directors

The director is freed in vcc_backend.c already, so don't free it in
vcc_dir_dns.c too.

Fixes: #863
parent 543e3dfe
......@@ -368,5 +368,4 @@ vcc_ParseDnsDirector(struct vcc *tl)
Fc(tl, 0, "\t.ttl = %f", ttl);
Fc(tl, 0, ",\n");
Fc(tl, 0, "};\n");
Ff(tl, 0, "\tVRT_fini_dir(cli, VGCDIR(_%.*s));\n", PF(tl->t_dir));
}
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