summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/client/src/client-callback.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client-callback.c b/xlators/protocol/client/src/client-callback.c
index ea8acc910fe..16f5441a778 100644
--- a/xlators/protocol/client/src/client-callback.c
+++ b/xlators/protocol/client/src/client-callback.c
@@ -72,6 +72,12 @@ client_cbk_cache_invalidation (struct rpc_clnt *rpc, void *mydata, void *data)
default_notify (THIS, GF_EVENT_UPCALL, &upcall_data);
out:
+ if (ca_req.gfid)
+ free (ca_req.gfid);
+
+ if (ca_req.xdata.xdata_val)
+ free (ca_req.xdata.xdata_val);
+
return 0;
}