Skip to content
Snippets Groups Projects
Commit 38fade75 authored by Danny Auble's avatar Danny Auble
Browse files

fix to make sure the adapter name is NULL after adding it to the host list

parent 5761db66
No related branches found
No related tags found
No related merge requests found
......@@ -462,6 +462,7 @@ static int _parse_fed_file(hostlist_t *adapter_list)
if (rc == 0)
error("Adapter name format is incorrect.");
free(adapter_name);
adapter_name = NULL;
}
/* report any leftover strings on input line */
report_leftover(in_line, line_num);
......
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