mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 11:15:47 +00:00
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>
This commit is contained in:
parent
d0e2053724
commit
dd8bc21d2f
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user