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

Free and report AuthType and PluginDir config structure elements.

parent e2a97282
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,8 @@ void slurm_print_ctl_conf ( FILE* out, ...@@ -51,6 +51,8 @@ void slurm_print_ctl_conf ( FILE* out,
make_time_str ((time_t *)&slurm_ctl_conf_ptr->last_update, time_str); make_time_str ((time_t *)&slurm_ctl_conf_ptr->last_update, time_str);
fprintf(out, "Configuration data as of %s\n", time_str); fprintf(out, "Configuration data as of %s\n", time_str);
fprintf(out, "AuthType = %s\n",
slurm_ctl_conf_ptr->authtype);
fprintf(out, "BackupAddr = %s\n", fprintf(out, "BackupAddr = %s\n",
slurm_ctl_conf_ptr->backup_addr); slurm_ctl_conf_ptr->backup_addr);
fprintf(out, "BackupController = %s\n", fprintf(out, "BackupController = %s\n",
...@@ -77,6 +79,8 @@ void slurm_print_ctl_conf ( FILE* out, ...@@ -77,6 +79,8 @@ void slurm_print_ctl_conf ( FILE* out,
slurm_ctl_conf_ptr->job_credential_public_certificate); slurm_ctl_conf_ptr->job_credential_public_certificate);
fprintf(out, "KillWait = %u\n", fprintf(out, "KillWait = %u\n",
slurm_ctl_conf_ptr->kill_wait); slurm_ctl_conf_ptr->kill_wait);
fprintf(out, "PluginDir = %s\n",
slurm_ctl_conf_ptr->plugindir);
fprintf(out, "Prioritize = %s\n", fprintf(out, "Prioritize = %s\n",
slurm_ctl_conf_ptr->prioritize); slurm_ctl_conf_ptr->prioritize);
fprintf(out, "Prolog = %s\n", fprintf(out, "Prolog = %s\n",
......
...@@ -136,6 +136,7 @@ void slurm_free_submit_response_response_msg(submit_response_msg_t * msg) ...@@ -136,6 +136,7 @@ void slurm_free_submit_response_response_msg(submit_response_msg_t * msg)
void slurm_free_ctl_conf(slurm_ctl_conf_info_msg_t * config_ptr) void slurm_free_ctl_conf(slurm_ctl_conf_info_msg_t * config_ptr)
{ {
if (config_ptr) { if (config_ptr) {
xfree(config_ptr->authtype);
xfree(config_ptr->backup_addr); xfree(config_ptr->backup_addr);
xfree(config_ptr->backup_controller); xfree(config_ptr->backup_controller);
xfree(config_ptr->control_addr); xfree(config_ptr->control_addr);
...@@ -143,6 +144,7 @@ void slurm_free_ctl_conf(slurm_ctl_conf_info_msg_t * config_ptr) ...@@ -143,6 +144,7 @@ void slurm_free_ctl_conf(slurm_ctl_conf_info_msg_t * config_ptr)
xfree(config_ptr->epilog); xfree(config_ptr->epilog);
xfree(config_ptr->job_credential_private_key); xfree(config_ptr->job_credential_private_key);
xfree(config_ptr->job_credential_public_certificate); xfree(config_ptr->job_credential_public_certificate);
xfree(config_ptr->plugindir);
xfree(config_ptr->prioritize); xfree(config_ptr->prioritize);
xfree(config_ptr->prolog); xfree(config_ptr->prolog);
xfree(config_ptr->slurm_user_name); xfree(config_ptr->slurm_user_name);
......
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