[ofa-general] [PATCH] opensm/osm_ucast_lash.c: Remove osm_mesh_node_delete call from switch_delete
Hal Rosenstock
hnrose at comcast.net
Sun Aug 2 11:47:16 PDT 2009
osm_mesh_node_delete now called from free_lash_structures
Mistakenly omitted from commit 46e56687e629cbd21cbca453bb088c90c20a38aa
Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
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;
More information about the general
mailing list