Page MenuHomeFreeBSD

fix memory leak in 'finger'

Authored by on Feb 17 2017, 5:50 PM.



the variable nargv is allocated but never freed, so free it when the it is no longer used

Test Plan

Run clang's scan-build before the fix to find the problem, run after to verify fixed.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline retitled this revision from to fix memory leak in 'finger'. updated this object. edited the test plan for this revision. (Show Details) added reviewers: stevek, ed. set the repository for this revision to rS FreeBSD src repository.
ed accepted this revision.Feb 17 2017, 5:53 PM
ed edited edge metadata.
This revision is now accepted and ready to land.Feb 17 2017, 5:53 PM
This revision was automatically updated to reflect the committed changes.