Commit d04d466
committed
ibacm: Fix a memory leak in an acm_open_dev() error path
This patch fixes the following Coverity complaint:
CID 1490689 (linux-rdma#1 of 1): Resource leak (RESOURCE_LEAK)
15. leaked_storage: Variable dev going out of scope leaks the storage it points to.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>1 parent 32b9486 commit d04d466
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2654 | 2654 | | |
2655 | 2655 | | |
2656 | 2656 | | |
| 2657 | + | |
| 2658 | + | |
2657 | 2659 | | |
2658 | 2660 | | |
2659 | 2661 | | |
| |||
0 commit comments