HomeFreeBSD

libzfs: mount: don't leak mnt_param_t if mnt_func fails

Description

libzfs: mount: don't leak mnt_param_t if mnt_func fails

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

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Jan 12 2022, 11:50 PM
Tony Hutter <hutter2@llnl.gov>Committed on Jun 6 2022, 11:57 PM
Parents
rG271241187b18: Reject zfs send -RI with nonexistent fromsnap
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG56eed508d402: libzfs: mount: don't leak mnt_param_t if mnt_func fails (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Jun 6 2022, 11:57 PM