diff --git a/src/cart/crt_hg.c b/src/cart/crt_hg.c index c63bc8a38b8..59311cf691b 100644 --- a/src/cart/crt_hg.c +++ b/src/cart/crt_hg.c @@ -1486,7 +1486,7 @@ crt_hg_reply_send(struct crt_rpc_priv *rpc_priv) DP_HG_RC(hg_ret)); /* should success as addref above */ RPC_DECREF(rpc_priv); - rc = crt_hgret_2_der(hg_ret); + D_GOTO(out, rc = crt_hgret_2_der(hg_ret)); } /* Release input buffer */ @@ -1499,6 +1499,7 @@ crt_hg_reply_send(struct crt_rpc_priv *rpc_priv) } } +out: return rc; }