Commit f78c8a1c authored by Daniel Salzman's avatar Daniel Salzman

tests: fix memory leak in confio error case

parent 692bc018
......@@ -167,6 +167,7 @@ static int format_item(conf_io_t *io)
// Append the item.
if (strlcat(out, item, OUT_LEN) >= OUT_LEN) {
free(item);
return KNOT_ESPACE;
}
......
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