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

Free credential on message free, was bad memory leak.

parent 5fa17f37
No related branches found
No related tags found
No related merge requests found
...@@ -839,5 +839,7 @@ short int slurm_get_slurmd_port() ...@@ -839,5 +839,7 @@ short int slurm_get_slurmd_port()
void slurm_free_msg(slurm_msg_t * msg) void slurm_free_msg(slurm_msg_t * msg)
{ {
if (msg->cred)
xfree(msg->cred);
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