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 Oct 2 2019, 7:13 PM
Parents
rG982f1fc2d8ae: Override the TLS model when building mips64 binaries and static libraries
Branches
Unknown
Tags
Unknown