Merge pull request #6676 from mjstapp/fix_bfd_profile_sa

bfdd: Use XFREE when freeing bfd profiles
This commit is contained in:
Donald Sharp 2020-07-03 19:10:01 -04:00 committed by GitHub
commit cdfa68e1b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
/**