HomeFreeBSD

makefs: Fix a memory leak in fs_layout_one()

Description

makefs: Fix a memory leak in fs_layout_one()

Check the canmount property before building the mountpoint string.

Reported by: Coverity
Fixes: 240afd8c1fcc ("makefs: Add ZFS support")
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Aug 11 2022, 2:18 PM
Parents
rGe225983737b4: makefs: Fix memory leaks in dsl_dir_finalize_props()
Branches
Unknown
Tags
Unknown