Page MenuHomeFreeBSD

Fix memory leak in process_mapfile
ClosedPublic

Authored by bret_ketchum_dell.com on Aug 29 2020, 4:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 4, 5:48 AM
Unknown Object (File)
Fri, Sep 19, 5:34 AM
Unknown Object (File)
Sun, Sep 14, 11:59 PM
Unknown Object (File)
Aug 26 2025, 2:09 PM
Unknown Object (File)
Aug 26 2025, 6:10 AM
Unknown Object (File)
Aug 25 2025, 8:19 PM
Unknown Object (File)
Aug 25 2025, 11:25 AM
Unknown Object (File)
Jul 7 2025, 12:08 AM
Subscribers

Details

Summary

Coverity detected memory leak fix.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
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.