From e6e14d5932a75dc36c2d00175b5afe25d3c092f3 Mon Sep 17 00:00:00 2001 From: yury <yury> Date: Sun, 24 Aug 2008 16:10:12 +0000 Subject: [PATCH] - missed part of 14608. --- lustre/ptlrpc/recov_thread.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lustre/ptlrpc/recov_thread.c b/lustre/ptlrpc/recov_thread.c index 60a4aaf1d3..60e8a13087 100644 --- a/lustre/ptlrpc/recov_thread.c +++ b/lustre/ptlrpc/recov_thread.c @@ -234,9 +234,10 @@ static int llcd_send(struct llog_canceld_ctxt *llcd) req->rq_interpret_reply = llcd_interpret; req->rq_async_args.pointer_arg[0] = llcd; rc = ptlrpc_set_add_new_req(&lcm->lcm_pc, req); - if (rc) + if (rc) { + ptlrpc_request_free(req); GOTO(exit, rc); - + } RETURN(0); exit: CDEBUG(D_RPCTRACE, "Refused llcd %p\n", llcd); -- GitLab