Skip to content
Snippets Groups Projects
Commit a81b0454 authored by Brian Christiansen's avatar Brian Christiansen
Browse files

Fix possible free'ing of garbage.

Reported by CLANG
Continuation of 7eff526c
parent efae123f
No related branches found
No related tags found
No related merge requests found
...@@ -207,7 +207,7 @@ static int _parse_resv_tres(char *val, resv_desc_msg_t *resv_msg_ptr, ...@@ -207,7 +207,7 @@ static int _parse_resv_tres(char *val, resv_desc_msg_t *resv_msg_ptr,
*tres_corecnt = NULL, *tres_nodecnt = NULL, *tres_corecnt = NULL, *tres_nodecnt = NULL,
*token, *type = NULL, *saveptr1 = NULL, *token, *type = NULL, *saveptr1 = NULL,
*value_str = NULL, *name = NULL, *compound = NULL, *value_str = NULL, *name = NULL, *compound = NULL,
*tmp; *tmp = NULL;
bool discard, first; bool discard, first;
*free_tres_license = 0; *free_tres_license = 0;
......
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