Signed-off-by: Yevgeny Kliteynik <[email protected]>
---
 opensm/opensm/osm_pkey_mgr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/opensm/opensm/osm_pkey_mgr.c b/opensm/opensm/osm_pkey_mgr.c
index 1e98c82..612130c 100644
--- a/opensm/opensm/osm_pkey_mgr.c
+++ b/opensm/opensm/osm_pkey_mgr.c
@@ -118,6 +118,7 @@ pkey_mgr_process_physical_port(IN osm_log_t * p_log,
                                cl_ntoh16(ib_pkey_get_base(pkey)),
                                cl_ntoh64(osm_node_get_node_guid(p_node)),
                                osm_physp_get_port_num(p_physp));
+                       free(p_pending);
                        return;
                }
                cl_qlist_insert_head(&p_pkey_tbl->pending,
-- 
1.6.2.4

--
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

Reply via email to