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
F106097845: D26230.id76418.diff
Wed, Dec 25, 9:01 AM
F106097178: D26230.id76365.diff
Wed, Dec 25, 8:45 AM
Unknown Object (File)
Tue, Dec 24, 8:51 PM
Unknown Object (File)
Tue, Dec 3, 9:20 AM
Unknown Object (File)
Oct 25 2024, 6:13 AM
Unknown Object (File)
Oct 25 2024, 6:13 AM
Unknown Object (File)
Oct 25 2024, 6:13 AM
Unknown Object (File)
Oct 25 2024, 6:13 AM
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–797

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.