summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/cluster/afr/src/afr-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c
index 4ef11cb1bc8..356f077e7c1 100644
--- a/xlators/cluster/afr/src/afr-common.c
+++ b/xlators/cluster/afr/src/afr-common.c
@@ -1439,6 +1439,9 @@ afr_cleanup_fd_ctx (xlator_t *this, fd_t *fd)
if (fd_ctx->locked_on)
GF_FREE (fd_ctx->locked_on);
+ if (fd_ctx->pre_op_piggyback)
+ GF_FREE (fd_ctx->pre_op_piggyback);
+
GF_FREE (fd_ctx);
}