HomeFreeBSD

Fix Coverity issue in the NVDIMM driver

Description

Fix Coverity issue in the NVDIMM driver

Summary:
Coverity reports a potential memory leak in the nvdimm
driver. Examination shows it's real; fix it.

Sponsored by: Dell Technologies
MFC after: 1w

Test Plan: Changes in use at $WORK

Reviewers: robert.herndon_dell.com, vangyzen, bret_ketchum_dell.com

Subscribers: imp, badger

Differential Revision: https://reviews.freebsd.org/D38676

Details

Provenance
robert.herndon_dell.comAuthored on Oct 13 2022, 5:02 PM
dabCommitted on Feb 23 2023, 2:42 AM
Differential Revision
D38676: Fix Coverity issue in the NVDIMM driver
Parents
rG453aa7fac989: tcp: ensure the tcpcb is not NULL when logging an event
Branches
Unknown
Tags
Unknown