networkd-dhcp6: Set initial value of route to NULL

System Internals / systemd - Patrik Flykt [linux.intel.com] - 26 September 2018 13:15 EDT

Start with route set to NULL should there be no route created. Remove the explicit route_free as the _cleanup_ will take care of that after the continue;.

dd5ab7d91 networkd-dhcp6: Set initial value of route to NULL
src/network/networkd-dhcp6.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: github.com


  • Share