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

Reset config info on SIGHUP to slurmctld. Fix bug: called xfree instead of

free_bitmap
parent e4e3e8f1
No related branches found
No related tags found
No related merge requests found
...@@ -329,6 +329,8 @@ static void *_slurmctld_signal_hand(void *no_data) ...@@ -329,6 +329,8 @@ static void *_slurmctld_signal_hand(void *no_data)
if (error_code) if (error_code)
error("read_slurm_conf error %d", error("read_slurm_conf error %d",
error_code); error_code);
else
_update_logging();
break; break;
case SIGABRT: /* abort */ case SIGABRT: /* abort */
fatal("SIGABRT received"); fatal("SIGABRT received");
......
...@@ -675,7 +675,7 @@ static void _list_delete_config (void *config_entry) ...@@ -675,7 +675,7 @@ static void _list_delete_config (void *config_entry)
config_record_point = (struct config_record *) config_entry; config_record_point = (struct config_record *) config_entry;
FREE_NULL (config_record_point->feature); FREE_NULL (config_record_point->feature);
FREE_NULL (config_record_point->nodes); FREE_NULL (config_record_point->nodes);
FREE_NULL (config_record_point->node_bitmap); FREE_NULL_BITMAP (config_record_point->node_bitmap);
xfree (config_record_point); xfree (config_record_point);
} }
......
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