From 767109f5cf2ebe5cecc4e93d990c43255ffe6a12 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Sun, 12 Aug 2018 18:40:25 -0700 Subject: features/changelog: Fix a resource leak Fixes CID 1382359 Change-Id: Iaafbdb9a45496091327e3dc9092e09148fa9a5c5 updates: bz#789278 Signed-off-by: Vijay Bellur --- xlators/features/changelog/src/changelog-helpers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/features/changelog/src/changelog-helpers.c') 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); } -- cgit