Page MenuHomeFreeBSD

nvdimm: Fix error path mis-free
ClosedPublic

Authored by cem on Wed, Oct 2, 7:55 AM.

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

cem created this revision.Wed, Oct 2, 7:55 AM
kib accepted this revision.Wed, Oct 2, 2:14 PM
This revision is now accepted and ready to land.Wed, Oct 2, 2:14 PM
scottph accepted this revision.Wed, Oct 2, 5:33 PM
This revision was automatically updated to reflect the committed changes.