opensm/osm_sa_service_record.c: Fix minor memory leak
PATCH 2/2 opensm/osm_sa_service_record.c: Fix minor memory leak
in sr_rcv_process_delete_method
--- opensm/osm_sa_service_record.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
opensm/osm_sa_service_record.c +1 -0
@@ -644,6 +644,7 @@ static void sr_rcv_process_delete_method(osm_sa_t * sa, IN osm_madw_t * p_madw)OSM_LOG (sa->p_log,OSM_LOG_ERROR ,"ERR 2413: " "Unable to acquire Service record\n" );osm_sa_send_error (sa, p_madw,IB_SA_MAD_STATUS_NO_RESOURCES ); +osm_svcr_delete (p_svcr); goto Exit; }
Signature · 6 lines
1.5.3 -- 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): 4DAD9BE8.4040503-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Quoted 5 lines · Hal Rosenstock
in
sr_rcv_process_delete_method---
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