Skip to content
Snippets Groups Projects
Commit a5310890 authored by David Bigagli's avatar David Bigagli Committed by Morris Jette
Browse files

In sacctmgr, purge local qos list after update

parent 111fd8b2
No related branches found
No related tags found
No related merge requests found
......@@ -662,6 +662,11 @@ extern int sacctmgr_add_qos(int argc, char *argv[])
list_iterator_destroy(itr);
list_destroy(name_list);
if (g_qos_list) {
list_destroy(g_qos_list);
g_qos_list = NULL;
}
if(!list_count(qos_list)) {
printf(" Nothing new added.\n");
goto end_it;
......
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