Skip to content
Snippets Groups Projects
Commit ecd69dcb authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

XFR: fix resource leak on error recovery when adding node

CID: 1088834
parent 1d2bb954
No related branches found
No related tags found
No related merge requests found
......@@ -1744,6 +1744,7 @@ static knot_node_t *xfrin_add_new_node(knot_zone_contents_t *contents,
}
if (ret != KNOT_EOK) {
dbg_xfrin("Failed to add new node to zone contents.\n");
knot_node_free(&node);
return NULL;
}
......
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