[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20110413094501.445b7065.weiny2@llnl.gov>
Date: Wed, 13 Apr 2011 09:45:01 -0700
From: Ira Weiny <weiny2@...l.gov>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] 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
Signed-off-by: Ira Weiny <weiny2@...l.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists