From 9b902ca75c3a1053e814e63c2629378f79f36e4e Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Tue, 30 Jul 2013 13:48:44 -0700 Subject: [PATCH] switch/generic: fix bug in job_info_free() logic that generated segv --- src/plugins/switch/generic/switch_generic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/switch/generic/switch_generic.c b/src/plugins/switch/generic/switch_generic.c index 89a537ee7bc..06e288d04bf 100644 --- a/src/plugins/switch/generic/switch_generic.c +++ b/src/plugins/switch/generic/switch_generic.c @@ -461,7 +461,6 @@ void switch_p_free_jobinfo(switch_jobinfo_t *switch_job) xfree(node_ptr->ifa_array[j]->ifa_name); xfree(node_ptr->ifa_array[j]); } - xfree(gen_step_info->node_array); } xfree(gen_step_info->node_array); xfree(gen_step_info); -- GitLab