Loading
RDMA/amso1100: Fix memory leak in c2_reg_phys_mr()
If the allocation of mr fails, then c2_reg_phys_mr() leaks the
page_list array it allocated earlier.
This was Coverity CID #1413.
Signed-off-by:
Roland Dreier <rolandd@cisco.com>
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
If the allocation of mr fails, then c2_reg_phys_mr() leaks the
page_list array it allocated earlier.
This was Coverity CID #1413.
Signed-off-by:
Roland Dreier <rolandd@cisco.com>