diff options
author | Donald Sharp <sharpd@nvidia.com> | 2024-08-13 20:12:05 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2024-08-13 20:12:05 +0200 |
commit | 68fff4905627b73f92f12b1e6c023e8de561fd99 (patch) | |
tree | 783425881a9448047bf086c79a2eba98f7b96764 /babeld/babel_interface.c | |
parent | pbrd: Call vrf_terminate on shutdown (diff) | |
download | frr-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.c | 5 |
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) { |