diff options
author | Vijay Bellur <vbellur@redhat.com> | 2018-08-12 18:40:25 -0700 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-08-15 05:45:29 +0000 |
commit | 767109f5cf2ebe5cecc4e93d990c43255ffe6a12 (patch) | |
tree | c5f439bcdf011802c40f2aebafb349355b852ceb /xlators/features/changelog | |
parent | 89545e745e4075845c18078be67a31dea93a4e88 (diff) |
features/changelog: Fix a resource leak
Fixes CID 1382359
Change-Id: Iaafbdb9a45496091327e3dc9092e09148fa9a5c5
updates: bz#789278
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/changelog')
-rw-r--r-- | xlators/features/changelog/src/changelog-helpers.c | 1 |
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); } |