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
F83394671: D26462.id77156.diff
Thu, May 9, 9:50 PM
Unknown Object (File)
Wed, May 8, 12:08 AM
Unknown Object (File)
Thu, May 2, 9:23 PM
Unknown Object (File)
Thu, Apr 25, 5:19 PM
Unknown Object (File)
Apr 9 2024, 5:31 AM
Unknown Object (File)
Apr 7 2024, 7:39 AM
Unknown Object (File)
Mar 31 2024, 8:26 AM
Unknown Object (File)
Mar 24 2024, 3:59 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.