HomeFreeBSD

nvdimm: Fix error path mis-free

Description

nvdimm: Fix error path mis-free

Regression introduced in r343629 when malloc result was renamed from spa to
spa_mapping and the 'spa' name was instead used to iterate a table, but the
free() target was not updated.

Reviewed by: kib, scottph
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D21871

Details

Provenance
cemAuthored on
Reviewer
kib
Differential Revision
D21871: nvdimm: Fix error path mis-free
Parents
rS353019: Override the TLS model when building mips64 binaries and static libraries
Branches
Unknown
Tags
Unknown