summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2016-12-20 11:51:07 +0530
committerRaghavendra G <rgowdapp@redhat.com>2016-12-20 22:58:33 -0800
commit9509b4619b8a373538b6857a06f1032c46a432fe (patch)
tree8460fb991e49954cb65bd58c3733c6effc67d430 /xlators/protocol/client
parent2bb2313656a19ee8efe3cfeda4f2ae90e8e49b62 (diff)
client,server: Free xdr-allocated compound req/rsp arrays
Change-Id: I9e1829f4f73f001bba33005032e030f289e8d003 BUG: 1406252 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/16210 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/protocol/client')
-rw-r--r--xlators/protocol/client/src/client-rpc-fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-rpc-fops.c b/xlators/protocol/client/src/client-rpc-fops.c
index 2895264..c260ac2 100644
--- a/xlators/protocol/client/src/client-rpc-fops.c
+++ b/xlators/protocol/client/src/client-rpc-fops.c
@@ -3209,8 +3209,8 @@ out:
gf_error_to_errno (rsp.op_errno), args_cbk, xdata);
free (rsp.xdata.xdata_val);
-
client_compound_rsp_cleanup (&rsp, length);
+ free (rsp.compound_rsp_array.compound_rsp_array_val);
if (xdata)
dict_unref (xdata);