summaryrefslogtreecommitdiffstats
path: root/api/src/glfs.c
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-10-30 14:30:26 -0700
committerAnand Avati <avati@redhat.com>2013-11-13 10:48:18 -0800
commitc1109ed6c6c7bff0df22c304158e9f392f83cf59 (patch)
tree4ca5b363a23ea1ece521d1a234fb61293f0e507c /api/src/glfs.c
parenteeac099cf405849f07989c410968e77f95acdc77 (diff)
gfapi: introduce glfs_readdir() and glfs_readdirplus() APIs
Change-Id: I6b233bf647585675f233898351bf593f251716cc BUG: 839950 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.org/6201 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'api/src/glfs.c')
-rw-r--r--api/src/glfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c
index ed731eae958..e94419c2d57 100644
--- a/api/src/glfs.c
+++ b/api/src/glfs.c
@@ -384,6 +384,9 @@ glfs_fd_destroy (struct glfs_fd *glfd)
if (glfd->fd)
fd_unref (glfd->fd);
+
+ GF_FREE (glfd->readdirbuf);
+
GF_FREE (glfd);
}