summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/changelog/src/changelog-helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/changelog/src/changelog-helpers.c b/xlators/features/changelog/src/changelog-helpers.c
index fb1ee06da2c..4ab3c8429d1 100644
--- a/xlators/features/changelog/src/changelog-helpers.c
+++ b/xlators/features/changelog/src/changelog-helpers.c
@@ -662,6 +662,7 @@ htime_open (xlator_t *this,
CHANGELOG_MSG_HTIME_INFO,
"HTIME_CURRENT not found. Changelog enabled"
" before init");
+ sys_close (ht_dir_fd);
return htime_create (this, priv, ts);
}