From ebbc6e802bbffc9c0fd03db1cafefcaaca3a0f05 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 7 Mar 2012 16:03:32 +0530 Subject: protocol/client: Free readdirp xdr leak Change-Id: I5e46deedd93e852a483693de42e4bec0082bc08b BUG: 796186 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.com/2886 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- xlators/protocol/client/src/client-helpers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/protocol/client') diff --git a/xlators/protocol/client/src/client-helpers.c b/xlators/protocol/client/src/client-helpers.c index f1c7c71cd..b9b0a0edf 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; -- cgit