HomeFreeBSD

Fix memory leak in ztest

Description

Fix memory leak in ztest

This is tripping LeakSanitizer, which causes zloop test failures on pull
requests.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14583

Details

Provenance
Richard Yao <richard.yao@alumni.stonybrook.edu>Authored on Mar 6 2023, 11:30 PM
GitHub <noreply@github.com>Committed on Mar 6 2023, 11:30 PM
Parents
rGb79e7114bb95: Add missing increment to dsl_deadlist_move_bpobj()
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGbc4d21078368: Fix memory leak in ztest (authored by Richard Yao <richard.yao@alumni.stonybrook.edu>).Mar 6 2023, 11:30 PM