diff options
author | ggarg <ggarg@redhat.com> | 2014-06-17 16:25:03 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2014-08-13 02:51:18 -0700 |
commit | c03e07b4147bb2fe902be77f0bbef9c9bae977ab (patch) | |
tree | adaff7a240ba26a71fa457ff4320750f9d996141 /tests | |
parent | fd6765b4a3f8162bf36054cf3de6e88a6bdfadd3 (diff) |
glusterd: Coverity fix for going out of scope leaks of directory pointer
In function volgen_apply_filters() directory stream associated with
"filterdir" should be close after opening directory stream corresponding
to directory name. closedir() also closes the underlying file descriptor
associated with "filterdir".
Coverity CID: 1124723
Change-Id: I78ed04047ded98bf95d201afed01c727aa506882
BUG: 789278
Reviewed-on: http://review.gluster.org/8088
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions