mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 05:00:23 +00:00
Merge pull request #6676 from mjstapp/fix_bfd_profile_sa
bfdd: Use XFREE when freeing bfd profiles
This commit is contained in:
commit
cdfa68e1b8
@ -120,7 +120,8 @@ void bfd_profile_free(struct bfd_profile *bp)
|
|||||||
|
|
||||||
/* Remove from global list. */
|
/* Remove from global list. */
|
||||||
TAILQ_REMOVE(&bplist, bp, entry);
|
TAILQ_REMOVE(&bplist, bp, entry);
|
||||||
free(bp);
|
|
||||||
|
XFREE(MTYPE_BFDD_PROFILE, bp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user