Skip to content
Snippets Groups Projects
Commit 0a74d5a0 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

axfr: fixed leaking rr

parent 878cec1d
Branches
Tags
No related merge requests found
......@@ -257,6 +257,7 @@ int xfrin_process_axfr_packet(knot_pkt_t *pkt, knot_ns_xfr_t *xfr, knot_zone_con
}
*zone = knot_zone_contents_new(rr->owner);
if (*zone == NULL) {
knot_rrset_free(&rr, NULL);
return KNOT_ENOMEM;
}
xfr->packet_nr = 0;
......
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