Page MenuHomeFreeBSD

Fix memory leak in ctm
ClosedPublic

Authored by trix_juniper.net on Mar 22 2017, 5:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 7 2024, 4:42 AM
Unknown Object (File)
Dec 20 2023, 4:12 AM
Unknown Object (File)
Dec 13 2023, 6:27 AM
Unknown Object (File)
Jul 24 2023, 12:50 AM
Unknown Object (File)
Jul 4 2023, 7:52 PM
Unknown Object (File)
Jun 8 2023, 3:56 AM
Unknown Object (File)
Apr 18 2023, 7:37 PM
Unknown Object (File)
Apr 8 2017, 12:45 AM
Subscribers

Details

Summary

ctm/ctm_pass1.c Pass1
Before returning early for an error, free 'name'

Test Plan

Use clang's static analyzer, scan-build, to find the problem and later to show resolution.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I didn't even know this existed.. "CVS Through eMail"...? Really?!

This revision is now accepted and ready to land.Mar 22 2017, 5:25 PM
This revision was automatically updated to reflect the committed changes.