diff options
Diffstat (limited to 'bgpd/bgp_fsm.c')
-rw-r--r-- | bgpd/bgp_fsm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index c8ca4173..6368ff47 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -491,13 +491,13 @@ bgp_stop (struct peer *peer) /* Connection information. */ if (peer->su_local) { - XFREE (MTYPE_SOCKUNION, peer->su_local); + sockunion_free (peer->su_local); peer->su_local = NULL; } if (peer->su_remote) { - XFREE (MTYPE_SOCKUNION, peer->su_remote); + sockunion_free (peer->su_remote); peer->su_remote = NULL; } |