Skip to contentSkip to conversation

infiniband-diags: saquery, properly free mad in get_and_dump_any_records

PATCH New Ira Weiny 1 participant 1 message Apr 13, 2011

lore
Share & tools
lore

Ira Weiny

author
#0 lore raw

PATCH 1/1 infiniband-diags: saquery, properly free mad in get_and_dump_any_records

Subject: [PATCH] infiniband-diags: saquery, properly free mad in get_and_dump_any_records

---
 src/saquery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
src/saquery.c +1 -1
index 03869e3..b8f2e41 100644
@@ -877,7 +877,7 @@ static int get_and_dump_any_records(bind_handle_t h, uint16_t attr_id,
 		return ret;
 
 	dump_results(&result, dump_func);
-
+	return_mad();
 	return 0;
 }
 
Signature · 1 line
1.7.1