HomeFreeBSD

Do not leak PMC_PO_OWNS_LOGFILE on error.

Description

Do not leak PMC_PO_OWNS_LOGFILE on error.

Note that PMCLOG_RESERVE_WITH_ERROR() macro contains goto error;
statement and executed after the flag is set.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS325758: Style bug.
Branches
Unknown
Tags
Unknown