IB/ipath: Fix memory leak if allocation fails
If the second allocation failed, the first structure allocated in this routine was not freed. Signed-off-by: NBryan O'Sullivan <bryan.osullivan@qlogic.com> Signed-off-by: NRoland Dreier <rolandd@cisco.com>
Showing
想要评论请 注册 或 登录