features/changelog: Fix a resource leak
Fixes CID 1382359 Change-Id: Iaafbdb9a45496091327e3dc9092e09148fa9a5c5 updates: bz#789278 Signed-off-by: Vijay Bellur <vbellur@redhat.com>
This commit is contained in:
parent
89545e745e
commit
767109f5cf
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user