Page MenuHomeFreeBSD

Fix memory leak in process_mapfile
ClosedPublic

Authored by bret_ketchum_dell.com on Aug 29 2020, 4:27 PM.

Details

Summary

Coverity detected memory leak fix.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Aug 29 2020, 7:00 PM

Explicitly close the stream to appease the static analyzer.

This revision now requires review to proceed.Aug 29 2020, 7:11 PM
lib/libpmc/pmu-events/jevents.c
789–797 ↗(On Diff #76346)

line is leaked here

This revision is now accepted and ready to land.Aug 30 2020, 2:34 PM
This revision was automatically updated to reflect the committed changes.