Skip to content
Snippets Groups Projects
Commit a20f479e authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

fix resource leak, CID 968209

parent 663bd426
No related branches found
No related tags found
No related merge requests found
......@@ -173,6 +173,7 @@ static int parse_partial_rr(scanner_t *s, const char *lp, unsigned flags) {
s->zone_origin_length,
NULL);
if (suf == NULL) {
knot_dname_free(&owner);
return KNOT_ENOMEM;
}
knot_dname_cat(owner, suf);
......
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