osm_mesh_node_delete now called from free_lash_structures
Mistakenly omitted from commit 46e56687e629cbd21cbca453bb088c90c20a38aa

Signed-off-by: Hal Rosenstock <[email protected]>
---
diff --git a/opensm/opensm/osm_ucast_lash.c b/opensm/opensm/osm_ucast_lash.c
index a62cb3d..2715fe7 100644
--- a/opensm/opensm/osm_ucast_lash.c
+++ b/opensm/opensm/osm_ucast_lash.c
@@ -651,8 +651,6 @@ static switch_t *switch_create(lash_t * p_lash, unsigned 
id, osm_switch_t * p_sw
 
 static void switch_delete(lash_t *p_lash, switch_t * sw)
 {
-       osm_mesh_node_delete(p_lash, sw);
-
        if (sw->dij_channels)
                free(sw->dij_channels);
        if (sw->p_sw)
@@ -671,7 +669,6 @@ static void delete_mesh_switches(lash_t *p_lash)
        }
 }
 
-
 static void free_lash_structures(lash_t * p_lash)
 {
        unsigned int i, j, k;
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to