opensm/osm_torus.c: Fix memory leak
PATCH 1/1 opensm/osm_torus.c: Fix memory leak
Signed-off-by Jim Schutt <[email protected]>
---
opensm/osm_torus.c +1 -1
@@ -8779,7 +8779,7 @@ osm_mtree_node_t *mcast_stree_branch(struct t_switch *sw, osm_switch_t *osm_sw, } }if (!(mcast_end_ports || mcast_fwd_ports)) { -free (mtn); +osm_mtree_destroy (mtn); mtn =NULL ; }else if (depth > *max_depth) *max_depth = depth;
--
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Hal,
Quoted 4 lines · Hal Rosenstock
Signed-off-by Jim Schutt <[email protected]>---
Applied, thanks.
--
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