Page MenuHomeFreeBSD

Fix a memory leak in set80211chanlist

Authored by on Feb 17 2017, 6:39 PM.



The variable temp is allocated but never freed, now free it when it is not used.

Test Plan

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

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 a memory leak in set80211chanlist. updated this object. edited the test plan for this revision. (Show Details) added reviewers: stevek, adrian. set the repository for this revision to rS FreeBSD src repository.
adrian accepted this revision.Feb 17 2017, 6:42 PM
adrian edited edge metadata.


This revision is now accepted and ready to land.Feb 17 2017, 6:42 PM
This revision was automatically updated to reflect the committed changes.