From 9509b4619b8a373538b6857a06f1032c46a432fe Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Tue, 20 Dec 2016 11:51:07 +0530 Subject: client,server: Free xdr-allocated compound req/rsp arrays Change-Id: I9e1829f4f73f001bba33005032e030f289e8d003 BUG: 1406252 Signed-off-by: Krutika Dhananjay Reviewed-on: http://review.gluster.org/16210 Smoke: Gluster Build System Reviewed-by: Pranith Kumar Karampuri NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System --- xlators/protocol/client/src/client-rpc-fops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/protocol/client') diff --git a/xlators/protocol/client/src/client-rpc-fops.c b/xlators/protocol/client/src/client-rpc-fops.c index 28952648786..c260ac211ef 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); -- cgit