diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-05-08 15:15:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-08 15:15:15 -0400 |
| commit | cf0d1e8c257a6cd73e16a7cbabc88e2e9ce330d4 (patch) | |
| tree | 15b5b8ca1da73ee7f266388ad96d993c72d3ddda | |
| parent | eb4c026d13af32ea80ef264e86e63f7b7115a37b (diff) | |
| parent | 76f444a5d3184d60fa20a95672c3cb7799926696 (diff) | |
Merge pull request #13468 from opensourcerouting/ripd-memtype-fix
ripd: fix another memtype mismatch
| -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); } |
