HomeFreeBSD

zfs_get_enclosure_sysfs_path(): don't free undefined pointer

Description

zfs_get_enclosure_sysfs_path(): don't free undefined pointer

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11993

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on May 3 2021, 10:13 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 10 2021, 7:21 PM
Parents
rG14b56624c8e7: zfs_get_enclosure_sysfs_path(): don't leak dev path
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG8f6e2b5485c9: zfs_get_enclosure_sysfs_path(): don't free undefined pointer (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).May 10 2021, 7:21 PM