X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=pimd%2Fpim_tlv.c;h=d93a360448edb06fec21146fd20dcecefbe76158;hb=2569910bb6e5c00ececc60ed15b182e14a88cb9d;hp=70700dd508d1de715715a3e1c4f4b25b4528e8a6;hpb=91a4566c1c86b7a291d7a572f64ca7e8fd8eff0c;p=mirror_frr.git diff --git a/pimd/pim_tlv.c b/pimd/pim_tlv.c index 70700dd50..d93a36044 100644 --- a/pimd/pim_tlv.c +++ b/pimd/pim_tlv.c @@ -657,7 +657,7 @@ int pim_parse_addr_source(struct prefix_sg *sg, uint8_t *flags, #define FREE_ADDR_LIST(hello_option_addr_list) \ { \ if (hello_option_addr_list) { \ - list_delete_and_null(&hello_option_addr_list); \ + list_delete(&hello_option_addr_list); \ hello_option_addr_list = 0; \ } \ }