babeld: Free ifc leak

On removal of an address on an interface babel was not properly
cleaning memory.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2020-11-14 21:19:42 -05:00
parent ff3bf9a436
commit 1f3255e5c1

View File

@ -187,6 +187,7 @@ babel_interface_address_delete (ZAPI_CALLBACK_ARGS)
send_request(ifc->ifp, NULL, 0);
send_update(ifc->ifp, 0, NULL, 0);
connected_free(&ifc);
return 0;
}