Skip to content
Snippets Groups Projects
Commit d8b178a7 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Minor fix.

parent 1f96f998
No related branches found
No related tags found
No related merge requests found
......@@ -101,8 +101,6 @@ int zcreator_step(zcreator_t *zc, knot_rrset_t *rr)
// Recoverable error, skip record
knot_rrset_free(&rr, NULL);
return KNOT_EOK;
} else if (ret > 0) {
knot_rrset_free(&rr, NULL);
}
assert(node);
......@@ -134,6 +132,10 @@ int zcreator_step(zcreator_t *zc, knot_rrset_t *rr)
}
}
if (ret > 0) {
knot_rrset_free(&rr, NULL);
}
ret = sem_check_node_plain(zc->z, node,
&err_handler, true,
&sem_fatal_error);
......
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