]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_hello.c
zebra: Allow ns delete to happen after under/over flow checks
[mirror_frr.git] / pimd / pim_hello.c
index b6c5bc432d766bf2c275d1a7fd8fac15cbbb3da8..e482d321a41b6fef736f0eeeb5843665132f5b9b 100644 (file)
@@ -127,7 +127,7 @@ static void tlv_trace_list(const char *label, const char *tlv_name,
 
 #define FREE_ADDR_LIST                                                         \
        if (hello_option_addr_list) {                                          \
-               list_delete_and_null(&hello_option_addr_list);                 \
+               list_delete(&hello_option_addr_list);                          \
        }
 
 #define FREE_ADDR_LIST_THEN_RETURN(code)                                       \