summaryrefslogtreecommitdiffstats
path: root/bfdd
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-07-03 17:43:00 +0200
committerMark Stapp <mjs@voltanet.io>2020-07-03 17:50:34 +0200
commitdd8bc21d2f4379aefdab8c9463a684f5a09d7045 (patch)
tree1428da6fc2b0358d4ee321534fef0372c50032d4 /bfdd
parentMerge pull request #6669 from ton31337/fix/large-community-list-set_sequence (diff)
downloadfrr-dd8bc21d2f4379aefdab8c9463a684f5a09d7045.tar.xz
frr-dd8bc21d2f4379aefdab8c9463a684f5a09d7045.zip
bfdd: Use XFREE, clean up SA warning for bfd profiles
Use XFREE instead of raw free, clean up SA warning in bfd profile delete. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'bfdd')
-rw-r--r--bfdd/bfd.c3
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);
}
/**