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)
Fri, Mar 8, 9:49 PM
Unknown Object (File)
Feb 11 2024, 9:15 AM
Unknown Object (File)
Feb 11 2024, 9:14 AM
Unknown Object (File)
Feb 1 2024, 6:12 PM
Unknown Object (File)
Jan 15 2024, 11:17 PM
Unknown Object (File)
Dec 20 2023, 6:34 AM
Unknown Object (File)
Dec 15 2023, 8:59 AM
Unknown Object (File)
Dec 12 2023, 8:54 PM
Subscribers

Details

Summary

Coverity detected memory leak fix.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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–798

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.