HomeFreeBSD

Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is

Description

Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is
consistent with pmc_destroy_owner_descriptor(). Also be sure to destroy
PMCs if a process exits or execs without explicitly releasing them.

Reviewed by: bz, gnn
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D958

Details

Provenance
markjAuthored on
Reviewer
bz
Differential Revision
D958: fix hwpmc memory leaks
Parents
rS273235: Fix UEFI manpage whitespace and minor issues
Branches
Unknown
Tags
Unknown

Event Timeline