HomeFreeBSD

Just remove freeing memory in pmcstat_cleanup, since we only clean up

Description

Just remove freeing memory in pmcstat_cleanup, since we only clean up
when we are exiting anyway.

Add NULL checks for all malloc and strdup returns.

Reviewed by: gnn
Approved by: sjg (mentor)
Obtained from: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D8002

Details

Provenance
stevekAuthored on
Reviewer
gnn
Differential Revision
D8002: Clean up memory management in pmcstat
Parents
rS306826: Combine several checks in nd6_prefix_offlink() into one.
Branches
Unknown
Tags
Unknown