HomeFreeBSD

Fix memory/fd leak in check_file() and is_spare()

Description

Fix memory/fd leak in check_file() and is_spare()

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: liuhuang <liu.huang@zte.com.cn>
Closes #5085

Details

Provenance
liuhuang <liu.huang@zte.com.cn>Authored on Sep 10 2016, 8:41 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 12 2016, 4:44 PM
Parents
rG89f67518e1c2: Fix make lint target
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGbd296705d5b6: Fix memory/fd leak in check_file() and is_spare() (authored by liuhuang <liu.huang@zte.com.cn>).Sep 12 2016, 4:44 PM