Skip to content
Snippets Groups Projects
Commit 6407d2af authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Blank zonedata_t on init

parent a310fbb7
No related branches found
No related tags found
No related merge requests found
......@@ -132,6 +132,7 @@ static int zonedata_init(conf_zone_t *cfg, knot_zone_t *zone)
if (!zd) {
return KNOTD_ENOMEM;
}
memset(zd, 0, sizeof(zonedata_t));
/* Link to config. */
zd->conf = cfg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment