HomeFreeBSD

Be protective and check the po_file validity before dropping the ref.

Description

Be protective and check the po_file validity before dropping the ref.

Reported and tested by: pho
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
X-Differential revision: https://reviews.freebsd.org/D12882

Details

Provenance
kibAuthored on
Reviewer
markj
Parents
rS325275: In hwpmc, do not double-close the logging file.
Branches
Unknown
Tags
Unknown