diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-07-04 01:10:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 01:10:01 +0200 |
commit | cdfa68e1b88a74f844c705e07581550040cb55b6 (patch) | |
tree | 9bc7f2d97b9ef533bf5d526cfef82286f81602c9 | |
parent | Merge pull request #6654 from donaldsharp/sorted (diff) | |
parent | bfdd: Use XFREE, clean up SA warning for bfd profiles (diff) | |
download | frr-cdfa68e1b88a74f844c705e07581550040cb55b6.tar.xz frr-cdfa68e1b88a74f844c705e07581550040cb55b6.zip |
Merge pull request #6676 from mjstapp/fix_bfd_profile_sa
bfdd: Use XFREE when freeing bfd profiles
-rw-r--r-- | bfdd/bfd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfdd/bfd.c b/bfdd/bfd.c index b8f25710d..7d6f4c143 100644 --- a/bfdd/bfd.c +++ b/bfdd/bfd.c @@ -120,7 +120,8 @@ void bfd_profile_free(struct bfd_profile *bp) /* Remove from global list. */ TAILQ_REMOVE(&bplist, bp, entry); - free(bp); + + XFREE(MTYPE_BFDD_PROFILE, bp); } /** |