summaryrefslogtreecommitdiffstats
path: root/bfdd/bfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfdd/bfd.c')
-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);
}
/**