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)
Sun, Mar 8, 5:26 PM
Unknown Object (File)
Mon, Mar 2, 3:43 AM
Unknown Object (File)
Thu, Feb 26, 2:39 PM
Unknown Object (File)
Thu, Feb 26, 4:36 AM
Unknown Object (File)
Nov 27 2025, 11:54 PM
Unknown Object (File)
Nov 18 2025, 11:45 AM
Unknown Object (File)
Nov 16 2025, 9:25 AM
Unknown Object (File)
Nov 14 2025, 9:55 AM
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.