HomeFreeBSD

Fix multilist_create() memory leak

Description

Fix multilist_create() memory leak

In arc_state_fini() the arc_l2c_only->arcs_list[*] multilists
must be destroyed. This accidentally regressed in d3c2ae1c.

Reviewed by: Tom Caputi <tcaputi@datto.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #5151
Closes #5152

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Sep 23 2016, 5:55 PM
GitHub <noreply@github.com>Committed on Sep 23 2016, 5:55 PM
Parents
rGd0662a1beb03: Fix coverity defects: CID 147613 147614 147616 147617
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG7571033285e2: Fix multilist_create() memory leak (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Sep 23 2016, 5:55 PM