Skip to content
Snippets Groups Projects
Commit 0b661e66 authored by Jason King's avatar Jason King
Browse files

Fixed error where we were calling switch_g_free_node_info() with junk

arguments.
parent e394776c
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,8 @@ void slurm_free_node_registration_status_msg ...@@ -205,7 +205,8 @@ void slurm_free_node_registration_status_msg
xfree(msg->node_name); xfree(msg->node_name);
xfree(msg->job_id); xfree(msg->job_id);
xfree(msg->step_id); xfree(msg->step_id);
switch_g_free_node_info(&msg->switch_nodeinfo); if (msg->startup)
switch_g_free_node_info(&msg->switch_nodeinfo);
xfree(msg); xfree(msg);
} }
} }
......
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