summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-03-28 00:32:34 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-03-28 00:53:11 +0530
commit3276e650f8af676ed602279f4be85d053aa6065d (patch)
tree9fe603895c2a143d42cf07d814b42b024182d532 /xlators
parent3baa99ebef316c6a9947c17c6d0c4bca863a8c82 (diff)
memory leak (of header) when frame is attempted to be xfer'ed when transport is disconnected
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/client/src/client-protocol.c2
1 files changed, 2 insertions, 0 deletions
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;