mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:29:39 +00:00
Merge pull request #1 from donaldsharp/stable_patches
A small collection of patches that fix issues found by valgrind
This commit is contained in:
commit
d5444d27c1
@ -573,8 +573,9 @@ subgroup_clear_table (struct update_subgroup *subgrp)
|
||||
|
||||
SUBGRP_FOREACH_ADJ_SAFE (subgrp, aout, taout)
|
||||
{
|
||||
bgp_adj_out_remove_subgroup (aout->rn, aout, subgrp);
|
||||
bgp_unlock_node (aout->rn);
|
||||
struct bgp_node *rn = aout->rn;
|
||||
bgp_adj_out_remove_subgroup (rn, aout, subgrp);
|
||||
bgp_unlock_node (rn);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -10317,6 +10317,10 @@ bgp_show_summary (struct vty *vty, struct bgp *bgp, int afi, int safi,
|
||||
|
||||
if (peer->afc[afi][safi])
|
||||
{
|
||||
memset(dn_flag, '\0', sizeof(dn_flag));
|
||||
if (peer_dynamic_neighbor(peer))
|
||||
dn_flag[0] = '*';
|
||||
|
||||
if (peer->hostname && bgp_flag_check(bgp, BGP_FLAG_SHOW_HOSTNAME))
|
||||
sprintf(neighbor_buf, "%s%s(%s) ", dn_flag, peer->hostname, peer->host);
|
||||
else
|
||||
|
@ -1845,9 +1845,13 @@ route_map_finish (void)
|
||||
}
|
||||
|
||||
for (i = 1; i < ROUTE_MAP_DEP_MAX; i++)
|
||||
hash_free(route_map_dep_hash[i]);
|
||||
{
|
||||
hash_free(route_map_dep_hash[i]);
|
||||
route_map_dep_hash[i] = NULL;
|
||||
}
|
||||
|
||||
hash_free (route_map_master_hash);
|
||||
route_map_master_hash = NULL;
|
||||
}
|
||||
|
||||
/* Initialization of route map vector. */
|
||||
|
Loading…
Reference in New Issue
Block a user