lkml.org 
[lkml]   [2011]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@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


\
 
 \ /
  Last update: 2011-04-13 18:51    [W:0.036 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site