linux/drivers/staging/rdma
Jubin John 79d0c08880 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 <dean.luick@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-03-10 20:45:47 -05:00
..
hfi1 staging/rdma/hfi1: Fix memory leaks 2016-03-10 20:45:47 -05:00
Kconfig staging/rdma: remove deprecated ipath driver 2016-02-03 11:10:58 -05:00
Makefile staging/rdma: remove deprecated ipath driver 2016-02-03 11:10:58 -05:00