From: Christoph Jaeger Date: Mon, 21 Apr 2014 15:02:42 +0000 (+0200) Subject: RDMA/cxgb4: Fix memory leaks in c4iw_alloc() error paths X-Git-Tag: omap-for-v3.16/fixes-against-rc1~68^2^3~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65b302ad31b02b0790417f4e65833af494cb35ce;p=pandora-kernel.git 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 Acked-by: Steve Wise Signed-off-by: Roland Dreier --- Reading git-diff-tree failed