Page MenuHomeFreeBSD

Fix additional memory leak in process_mapfile
ClosedPublic

Authored by bret_ketchum_dell.com on Sep 17 2020, 4:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 1 2024, 7:14 PM
Unknown Object (File)
Oct 12 2024, 5:55 AM
Unknown Object (File)
Oct 5 2024, 12:57 AM
Unknown Object (File)
Oct 2 2024, 3:43 AM
Unknown Object (File)
Sep 29 2024, 9:30 PM
Unknown Object (File)
Sep 29 2024, 1:22 PM
Unknown Object (File)
Sep 28 2024, 9:13 AM
Unknown Object (File)
Sep 27 2024, 7:52 PM
Subscribers

Details

Summary

Additional 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.Sep 17 2020, 6:02 PM

Thanks.

lib/libpmc/pmu-events/jevents.c
783–806 ↗(On Diff #77136)

If goto out is acceptable at ~786, maybe we can just do that here too and use a variable for the return value. This fix seems ok as-is, though. Either way.

This revision was automatically updated to reflect the committed changes.