osm_subnet.c: Fix resource leak guid2mkey parser (guid validation function)
PATCH 1/1 osm_subnet.c: Fix resource leak guid2mkey parser (guid validation function)
From: Dan Ben Yosef <[email protected]>
Fix resource leak after guid validation ("subn_validate_g2m")
Signed-off-by Dan Ben Yosef <[email protected]>
--- opensm/osm_subnet.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
opensm/osm_subnet.c +1 -0
@@ -966,6 +966,7 @@ static void subn_validate_g2m(osm_subn_t *p_subn)"guid:0x%016" PRIx64"\n" , p_item->guid); } +free (p_item); } Exit:
Signature · 6 lines
1.7.8.2 -- 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