From 3276e650f8af676ed602279f4be85d053aa6065d Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Sat, 28 Mar 2009 00:32:34 +0530 Subject: memory leak (of header) when frame is attempted to be xfer'ed when transport is disconnected Signed-off-by: Anand V. Avati --- xlators/protocol/client/src/client-protocol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xlators/protocol/client/src/client-protocol.c b/xlators/protocol/client/src/client-protocol.c index 430e02702..ab8fc3dcb 100644 --- a/xlators/protocol/client/src/client-protocol.c +++ b/xlators/protocol/client/src/client-protocol.c @@ -764,6 +764,8 @@ protocol_client_xfer (call_frame_t *frame, xlator_t *this, transport_t *trans, rsphdr.type = GF_OP_TYPE_CBK_REPLY; gf_cbks[op] (frame, &rsphdr, sizeof (rsphdr), NULL, 0); } + + FREE (hdr); } return ret; -- cgit