summaryrefslogtreecommitdiffstats
path: root/babeld/babel_interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-08-13 20:12:05 +0200
committerDonald Sharp <sharpd@nvidia.com>2024-08-13 20:12:05 +0200
commit68fff4905627b73f92f12b1e6c023e8de561fd99 (patch)
tree783425881a9448047bf086c79a2eba98f7b96764 /babeld/babel_interface.c
parentpbrd: Call vrf_terminate on shutdown (diff)
downloadfrr-68fff4905627b73f92f12b1e6c023e8de561fd99.tar.xz
frr-68fff4905627b73f92f12b1e6c023e8de561fd99.zip
babeld: Free up memory on shutdown
a) call vector_delete on created vector on shutdown. b) Call babel_clean_routing_process on shutdown Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'babeld/babel_interface.c')
-rw-r--r--babeld/babel_interface.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index 76ecd4fe4..943ae9def 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -1171,6 +1171,11 @@ DEFUN (show_babel_parameters,
return CMD_SUCCESS;
}
+void babel_if_terminate(void)
+{
+ vector_free(babel_enable_if);
+}
+
void
babel_if_init(void)
{