summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-11-15 03:19:42 +0100
committerDonald Sharp <sharpd@nvidia.com>2020-11-15 03:19:42 +0100
commit1f3255e5c10a5efde06ad09f8a165bee0c484018 (patch)
treec2d5b5494ad43a2d184c9cb0654870668af4608d /babeld
parentbgpd: Free aggr_suppresors list on extra deletion (diff)
downloadfrr-1f3255e5c10a5efde06ad09f8a165bee0c484018.tar.xz
frr-1f3255e5c10a5efde06ad09f8a165bee0c484018.zip
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>
Diffstat (limited to 'babeld')
-rw-r--r--babeld/babel_interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index ae8b161b0..d37e0b608 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -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;
}