]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_vxlan.c
zebra: Fix some memory leaks on shutdown
[mirror_frr.git] / zebra / zebra_vxlan.c
index ee9a88c66c3ad1dde5d53b443b2f902e902d4c74..dc8e6e9c0e62b9b8d3e8a00dfabbd517b249b7fd 100644 (file)
@@ -3736,4 +3736,5 @@ void zebra_vxlan_init_tables(struct zebra_vrf *zvrf)
 void zebra_vxlan_close_tables(struct zebra_vrf *zvrf)
 {
        hash_iterate(zvrf->vni_table, zvni_cleanup_all, zvrf);
+       hash_free(zvrf->vni_table);
 }