From ca7bffaf7dc6e1ade17165e1bc9e9d88839c5708 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Fri, 8 Oct 2010 14:48:39 +0000 Subject: [PATCH] fix recently introduced bug using malloc instead of xmalloc with xfree --- src/slurmctld/agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slurmctld/agent.c b/src/slurmctld/agent.c index 965d51f9406..efd84c44612 100644 --- a/src/slurmctld/agent.c +++ b/src/slurmctld/agent.c @@ -1567,7 +1567,7 @@ static int _batch_launch_defer(queued_request_t *queued_req_ptr) if (job_ptr->wait_all_nodes) { (void) job_node_ready(launch_msg_ptr->job_id, &nodes_ready); } else { - hostname = hostlist_deranged_string_malloc( + hostname = hostlist_deranged_string_xmalloc( agent_arg_ptr->hostlist); node_ptr = find_node_record(hostname); if (node_ptr == NULL) { -- GitLab