diff options
Diffstat (limited to 'bgpd/bgpd.c')
-rw-r--r-- | bgpd/bgpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 0d1689ab..87e6b444 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -1140,9 +1140,9 @@ peer_delete (struct peer *peer) /* Local and remote addresses. */ if (peer->su_local) - XFREE (MTYPE_TMP, peer->su_local); + sockunion_free (peer->su_local); if (peer->su_remote) - XFREE (MTYPE_TMP, peer->su_remote); + sockunion_free (peer->su_remote); /* Peer description string. */ if (peer->desc) |