mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] infiniband-diags: saquery, properly free mad in get_and_dump_any_records
@ 2011-04-13 16:45 Ira Weiny
  0 siblings, 0 replies; only message in thread
From: Ira Weiny @ 2011-04-13 16:45 UTC (permalink / raw)
  To: linux-kernel


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

Signed-off-by: Ira Weiny <weiny2@llnl.gov>
---
 src/saquery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/saquery.c b/src/saquery.c
index 03869e3..b8f2e41 100644
--- a/src/saquery.c
+++ b/src/saquery.c
@@ -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;
 }
 
-- 
1.7.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-13 16:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-13 16:45 [PATCH] infiniband-diags: saquery, properly free mad in get_and_dump_any_records Ira Weiny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®