diff options
-rw-r--r-- | xlators/cluster/afr/src/afr-dir-read.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-dir-read.c b/xlators/cluster/afr/src/afr-dir-read.c index fa1da3958df..41f5e60032d 100644 --- a/xlators/cluster/afr/src/afr-dir-read.c +++ b/xlators/cluster/afr/src/afr-dir-read.c @@ -322,6 +322,8 @@ afr_readdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this, AFR_STACK_UNWIND (readdir, frame, op_ret, op_errno, &entries, xdata); + gf_dirent_free (&entries); + return 0; } |