* [PATCH] opensm: fixed memory leak in multicast spanning tree
@ 2011-03-04 12:18 Alex Netes
0 siblings, 0 replies; only message in thread
From: Alex Netes @ 2011-03-04 12:18 UTC (permalink / raw)
To: linux-rdma
calculation
Reply-To:
When number of ports participating in a group is less than 2, port_list isn't
freed.
Signed-off-by: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
opensm/osm_mcast_mgr.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/opensm/osm_mcast_mgr.c b/opensm/osm_mcast_mgr.c
index df3af26..95b514c 100644
--- a/opensm/osm_mcast_mgr.c
+++ b/opensm/osm_mcast_mgr.c
@@ -751,6 +751,7 @@ static ib_api_status_t mcast_mgr_build_spanning_tree(osm_sm_t * sm,
OSM_LOG(sm->p_log, OSM_LOG_VERBOSE,
"MLID 0x%X has %u members - nothing to do\n",
mbox->mlid, num_ports);
+ drop_port_list(&port_list);
goto Exit;
}
--
1.7.3.4
--
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-04 12:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 12:18 [PATCH] opensm: fixed memory leak in multicast spanning tree Alex Netes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox