diff options
| author | Jubin John <[email protected]> | 2016-02-26 13:33:33 -0800 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-03-10 20:45:47 -0500 |
| commit | 79d0c088801b221330ee3b75cd10912003e3c6dd (patch) | |
| tree | 701e113e6ae1322ad181b78e26cd322919555057 /tools/perf/scripts/python/bin | |
| parent | 409b146225cdefcc76d9956e323e84e510208884 (diff) | |
staging/rdma/hfi1: Fix memory leaks
Fix 3 memory leaks reported by the LeakCheck tool in the KEDR framework.
The following resources were allocated memory during their respective
initializations but not freed during cleanup:
1. SDMA map elements
2. PIO map elements
3. HW send context to SW index map
This patch fixes the memory leaks by freeing the allocated memory in the
cleanup path.
Reviewed-by: Dean Luick <[email protected]>
Reviewed-by: Dennis Dalessandro <[email protected]>
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Jubin John <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions