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
Do not leak PMC_PO_OWNS_LOGFILE on error. Tags None Referenced Files None Subscribers None
Description
Details
|