Commit 6ed6df42 authored by Jan Včelák's avatar Jan Včelák 🚀

clang-analyzer: online signing, missing return after error

parent 0de02f11
......@@ -204,6 +204,7 @@ static knot_rrset_t *synth_nsec(knot_pkt_t *pkt, struct query_data *qdata, mm_ct
if (!bitmap) {
free(next);
knot_rrset_free(&nsec, mm);
return NULL;
}
size_t size = knot_dname_size(next) + dnssec_nsec_bitmap_size(bitmap);
......
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