Skip to content
Snippets Groups Projects
Commit 62fb9edd authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Initialize the entire launch structure.

parent f48b2244
No related branches found
No related tags found
No related merge requests found
...@@ -134,6 +134,8 @@ int slurm_step_launch (slurm_step_ctx ctx, ...@@ -134,6 +134,8 @@ int slurm_step_launch (slurm_step_ctx ctx,
char **env = NULL; char **env = NULL;
debug("Entering slurm_step_launch"); debug("Entering slurm_step_launch");
memset(&launch, 0, sizeof(launch));
if (ctx == NULL || ctx->magic != STEP_CTX_MAGIC) { if (ctx == NULL || ctx->magic != STEP_CTX_MAGIC) {
error("Not a valid slurm_step_ctx!"); error("Not a valid slurm_step_ctx!");
......
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