From 25234cd286f970146bb9bec625920243f062f05a Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Tue, 18 Jun 2013 14:47:54 -0700 Subject: [PATCH] Fix memory leak in step when destroying exec_wait_info --- src/slurmd/slurmstepd/mgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slurmd/slurmstepd/mgr.c b/src/slurmd/slurmstepd/mgr.c index 68ebae98626..973606e47e0 100644 --- a/src/slurmd/slurmstepd/mgr.c +++ b/src/slurmd/slurmstepd/mgr.c @@ -1172,6 +1172,7 @@ static void exec_wait_info_destroy (struct exec_wait_info *e) close (e->childfd); e->id = -1; e->pid = -1; + xfree(e); } static pid_t exec_wait_get_pid (struct exec_wait_info *e) -- GitLab