]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_mpls.c
*: Convert list_delete(struct list *) to ** to allow nulling
[mirror_frr.git] / zebra / zebra_mpls.c
index 3c7319f35de3ef83ab96acbc730fccbf36afcec0..9fd07d22d88ba4afb13484960e0a75c1ed77f9c7 100644 (file)
@@ -2701,7 +2701,7 @@ void zebra_mpls_print_lsp_table(struct vty *vty, struct zebra_vrf *zvrf,
                vty_out(vty, "\n");
        }
 
-       list_delete(lsp_list);
+       list_delete_and_null(&lsp_list);
 }
 
 /*
@@ -2740,7 +2740,7 @@ int zebra_mpls_write_lsp_config(struct vty *vty, struct zebra_vrf *zvrf)
                }
        }
 
-       list_delete(slsp_list);
+       list_delete_and_null(&slsp_list);
        return (zvrf->slsp_table->count ? 1 : 0);
 }