summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-03-07 16:03:32 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-07 09:20:06 -0800
commitebbc6e802bbffc9c0fd03db1cafefcaaca3a0f05 (patch)
tree98bc69e378baa77b1b03d42dd434b4b73e517390 /xlators/protocol/client
parent1e22ab9d218405f5081a30e90c4541e43243a216 (diff)
protocol/client: Free readdirp xdr leak
Change-Id: I5e46deedd93e852a483693de42e4bec0082bc08b BUG: 796186 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/2886 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/protocol/client')
-rw-r--r--xlators/protocol/client/src/client-helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client-helpers.c b/xlators/protocol/client/src/client-helpers.c
index f1c7c71cd2b..b9b0a0edf61 100644
--- a/xlators/protocol/client/src/client-helpers.c
+++ b/xlators/protocol/client/src/client-helpers.c
@@ -229,6 +229,7 @@ clnt_readdirp_rsp_cleanup (gfs3_readdirp_rsp *rsp)
while (trav) {
trav = trav->nextentry;
/* on client, the rpc lib allocates this */
+ free (prev->dict.dict_val);
free (prev->name);
free (prev);
prev = trav;