diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2023-05-08 11:07:54 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2023-05-08 12:30:50 -0300 |
| commit | 76f444a5d3184d60fa20a95672c3cb7799926696 (patch) | |
| tree | 691531bc9849e3231c3bfecedba195462ff45292 /ripd | |
| parent | 32a2f283d1fa4e7d5acb3acab96a4bd2e36f189b (diff) | |
ripd: fix another memtype mismatch
Fixes #13447.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripd')
| -rw-r--r-- | ripd/ripd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c index cb8dd4945d..339b033fb1 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -34,6 +34,7 @@ #include "ripd/ripd.h" #include "ripd/rip_nb.h" +#include "ripd/rip_bfd.h" #include "ripd/rip_debug.h" #include "ripd/rip_errors.h" #include "ripd/rip_interface.h" @@ -3346,7 +3347,7 @@ void rip_clean(struct rip *rip) route_table_finish(rip->distance_table); RB_REMOVE(rip_instance_head, &rip_instances, rip); - XFREE(MTYPE_TMP, rip->default_bfd_profile); + XFREE(MTYPE_RIP_BFD_PROFILE, rip->default_bfd_profile); XFREE(MTYPE_RIP_VRF_NAME, rip->vrf_name); XFREE(MTYPE_RIP, rip); } |
