]> 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 08a1432bb003651a8c97806fcc282d04ba482e50..e482d321a41b6fef736f0eeeb5843665132f5b9b 100644 (file)
@@ -125,9 +125,9 @@ 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);          \
+#define FREE_ADDR_LIST                                                         \
+       if (hello_option_addr_list) {                                          \
+               list_delete(&hello_option_addr_list);                          \
        }
 
 #define FREE_ADDR_LIST_THEN_RETURN(code)                                       \