diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2025-03-28 17:17:37 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2025-03-30 17:00:38 -0400 |
| commit | fbdce3358eb665f54b846fee076b03a6a5e8e7b8 (patch) | |
| tree | 7d6082ec461a8bdca5a80d9517506d3226536e73 /eigrpd | |
| parent | c9d431d4db48b78350d132eeea1abf839c5a3c31 (diff) | |
*: Ensure prefix lists are freed on shutdown.
Several daemons were not calling prefix_list_reset
to clean up memory on shutdown.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'eigrpd')
| -rw-r--r-- | eigrpd/eigrp_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eigrpd/eigrp_main.c b/eigrpd/eigrp_main.c index 089e18439f..c9ce018966 100644 --- a/eigrpd/eigrp_main.c +++ b/eigrpd/eigrp_main.c @@ -99,6 +99,8 @@ static void sigint(void) keychain_terminate(); route_map_finish(); + prefix_list_reset(); + eigrp_terminate(); exit(0); |
