HomeFreeBSD

Fix ddle memleak in ddt_log_load

Description

Fix ddle memleak in ddt_log_load

In ddt_log_load(), when removing dup entry from flushing tree, it doesn't
free the entry causing memleak.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
Co-authored-by: Chunwei Chen <david.chen@nutanix.com>
Closes #17657
Closes #17730

Details

Provenance
Chunwei Chen <tuxoko@gmail.com>Authored on Sep 12 2025, 5:05 PM
GitHub <noreply@github.com>Committed on Sep 12 2025, 5:05 PM
Parents
rG955fbc5adedd: Add send:encrypted test
Branches
Unknown
Tags
Unknown