From: Hal Rosenstock Subject: [PATCH] opensm/osm_ucast_ftree.c: Remove duplicate free in fabric_create_leaf_switch_array Date: Mon, 03 Dec 2012 10:25:57 -0500 Message-ID: <50BCC485.5060200@dev.mellanox.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alex Netes Cc: "linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)" , Dan Ben-Yosef List-Id: linux-rdma@vger.kernel.org Signed-off-by: Dan Ben-Yosef Signed-off-by: Hal Rosenstock --- opensm/osm_ucast_ftree.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/opensm/osm_ucast_ftree.c b/opensm/osm_ucast_ftree.c index 532a29f..133fd4f 100644 --- a/opensm/osm_ucast_ftree.c +++ b/opensm/osm_ucast_ftree.c @@ -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; } -- 1.7.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html