diff --git a/src/knot/nameserver/nsec_proofs.c b/src/knot/nameserver/nsec_proofs.c index f464953c7a2690b5bb7698eb9013cd71928a7c2c..1fa9e4cd71ad0e0539e94ba0d95c29469c002b1b 100644 --- a/src/knot/nameserver/nsec_proofs.c +++ b/src/knot/nameserver/nsec_proofs.c @@ -808,7 +808,7 @@ void nsec_clear_rrsigs(struct query_data *qdata) struct rrsig_info *info = NULL; WALK_LIST(info, qdata->rrsigs) { knot_rrset_t *rrsig = &info->synth_rrsig; - knot_rrs_clear(&rrsig->rrs, qdata->mm); + knot_rrset_clear(rrsig, qdata->mm); }; ptrlist_free(&qdata->rrsigs, qdata->mm);