commit | 65b302ad31b02b0790417f4e65833af494cb35ce | [log] [tgz] |
---|---|---|
author | Christoph Jaeger <christophjaeger@linux.com> | Mon Apr 21 17:02:42 2014 +0200 |
committer | Roland Dreier <roland@purestorage.com> | Mon May 19 17:55:43 2014 -0700 |
tree | 0d190ffc41dd9dec1bb537af7eb8efaf26ddb565 | |
parent | d6d211db37e75de2ddc3a4f979038c40df7cc79c [diff] |
RDMA/cxgb4: Fix memory leaks in c4iw_alloc() error paths c4iw_alloc() bails out without freeing the storage that 'devp' points to. Picked up by Coverity - CID 1204241. Fixes: fa658a98a2 ("RDMA/cxgb4: Use the BAR2/WC path for kernel QPs and T5 devices") Signed-off-by: Christoph Jaeger <christophjaeger@linux.com> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>