Skip to content
Snippets Groups Projects
Commit db3ef252 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

khost: fix resource leak (CID1135459)

parent 04766c60
No related branches found
No related tags found
No related merge requests found
......@@ -102,6 +102,7 @@ static int parse_name(const char *value, list_t *queries, const query_t *conf)
if (conf->idn) {
ascii_name = name_from_idn(value);
if (ascii_name == NULL) {
free(reverse);
return KNOT_EINVAL;
}
}
......
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