Skip to content
Snippets Groups Projects
Commit 72dbc8c8 authored by Moe Jette's avatar Moe Jette
Browse files

Plug memory leak.

parent f8a3d913
No related branches found
No related tags found
No related merge requests found
......@@ -476,9 +476,11 @@ static int parse_partitionname(void **dest, slurm_parser_enum_t type,
else {
error("Bad value \"%s\" for Shared", tmp);
destroy_partitionname(p);
xfree(tmp);
return -1;
}
}
xfree(tmp);
if (!s_p_get_boolean(&p->state_up_flag, "State", tbl)
&& !s_p_get_boolean(&p->state_up_flag, "State", dflt))
......
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