diff --git a/src/slurmd/task_mgr.c b/src/slurmd/task_mgr.c
index 5c8667d9de543ea04c8cbad14b7bf134042d6e13..6d078a8453d4af8cef8d24e9b3e7f0958698160a 100644
--- a/src/slurmd/task_mgr.c
+++ b/src/slurmd/task_mgr.c
@@ -108,6 +108,7 @@ int fan_out_task_launch ( launch_tasks_request_msg_t * launch_msg )
 		/* can't release if this is the same process as the main daemon ie threads
 		 * this is needed if we use forks
 		 * rel_shmem ( shmem_ptr ) ; */
+	deallocate_job_step ( curr_job_step ) ;
 	return SLURM_SUCCESS ;
 }