Page MenuHomeFreeBSD

Fix memory leaks in route

Authored by on Feb 19 2017, 5:52 PM.



route.c flushroutes_fib and interfaces have the same fix.
The local pointer 'buf' is freed before the function returns

Test Plan

Run clang's static analyzer scan-build before to find the problem, run it after to show the problem is resolved.

Diff Detail

rS FreeBSD src repository - subversion
Lint Skipped
Unit Tests Skipped

Event Timeline retitled this revision from to Fix memory leaks in route. updated this object. edited the test plan for this revision. (Show Details) added reviewers: stevek, melifaro. set the repository for this revision to rS FreeBSD src repository - subversion.
This revision is now accepted and ready to land.Mar 31 2018, 3:03 PM
This revision was automatically updated to reflect the committed changes.