Skip to contentSkip to conversation

opensm/osm_ucast_ftree.c: Remove duplicate free in fabric_create_leaf_switch_array

PATCH In review Hal Rosenstock 2 participants 2 messages Dec 3, 2012 – Jan 30, 2013 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_ucast_ftree.c: Remove duplicate free in fabric_create_leaf_switch_array

---
 opensm/osm_ucast_ftree.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
opensm/osm_ucast_ftree.c +0 -1
index 532a29f..133fd4f 100644
@@ -1689,7 +1689,6 @@ static int fabric_create_leaf_switch_array(IN ftree_fabric_t * p_ftree)
 	if (!p_ftree->leaf_switches) {
 		osm_log_v2(&p_ftree->p_osm->log, OSM_LOG_SYS, FILE_ID,
 			   "Fat-tree routing: Memory allocation failed\n");
-		free(all_switches_at_leaf_level);
 		res = -1;
 		goto Exit;
 	}
Signature · 6 lines
1.7.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html