summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/client')
-rw-r--r--xlators/protocol/client/src/client-rpc-fops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-rpc-fops.c b/xlators/protocol/client/src/client-rpc-fops.c
index 2d1b9540df4..602de947d9f 100644
--- a/xlators/protocol/client/src/client-rpc-fops.c
+++ b/xlators/protocol/client/src/client-rpc-fops.c
@@ -6145,7 +6145,6 @@ client3_3_compound (call_frame_t *frame, xlator_t *this, void *data)
rsphdr->iov_len = iobuf_pagesize (rsphdr_iobuf);
rsphdr_count = 1;
rsphdr_iobuf = NULL;
- rsphdr_iobref = NULL;
req.compound_fop_enum = c_args->fop_enum;
req.compound_req_array.compound_req_array_len = c_args->fop_length;
@@ -6195,6 +6194,8 @@ client3_3_compound (call_frame_t *frame, xlator_t *this, void *data)
GF_FREE (req.xdata.xdata_val);
+ iobref_unref (rsphdr_iobref);
+
compound_request_cleanup (&req);
return 0;
unwind: