Commit 5b8b5790 authored by Jan Kadlec's avatar Jan Kadlec

changeset: Free final SOA in ixfr.c

parent a27b70a2
......@@ -290,6 +290,7 @@ static void ixfrin_cleanup(struct answer_data *data)
struct ixfr_proc *proc = data->ext;
if (proc) {
changesets_clear(&proc->changesets);
knot_rrset_free(&proc->final_soa, proc->mm);
mm_free(data->mm, proc);
data->ext = NULL;
}
......
......@@ -326,6 +326,8 @@ void changeset_iter_clear(changeset_iter_t *it)
{
if (it) {
cleanup_iter_list(&it->iters);
it->node = NULL;
it->node_pos = 0;
}
}
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