Skip to content

Commit

Permalink
Merge a7db87e into ff5f81f
Browse files Browse the repository at this point in the history
  • Loading branch information
grondo committed Apr 30, 2018
2 parents ff5f81f + a7db87e commit e13f247
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/libjsc/jstatctl.c
Expand Up @@ -121,6 +121,7 @@ static void freectx (void *arg)
lru_cache_destroy (ctx->kvs_paths);
zlist_destroy (&(ctx->callbacks));
flux_msg_handler_delvec (ctx->handlers);
free (ctx);
}

static jscctx_t *getctx (flux_t *h)
Expand Down Expand Up @@ -1171,6 +1172,7 @@ static json_object *get_reserve_jcb (flux_t *h, int64_t nj)
__FUNCTION__);
goto done;
}
free (key);
return jcb;

done:
Expand Down Expand Up @@ -1226,6 +1228,7 @@ static json_object *get_submit_jcb (flux_t *h, const flux_msg_t *msg, int64_t nj
goto error;
}

free (key);
return jcb;

error:
Expand Down

0 comments on commit e13f247

Please sign in to comment.