commit | 19099dc393f3ca1fd9690f914e50278cf2aee78a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Dec 16 12:35:39 2016 +0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Jan 05 00:21:12 2017 -0500 |
tree | 4b03d6a61cf90206bdc5863d42087c803f56aa8d | |
parent | e0075478ca7c58c6ad6630310aaa3f64a25dcf31 [diff] |
scsi: dpt_i2o: double free if adpt_i2o_online_hba() fails There are two places where adpt_i2o_online_hba() is called. Both callers call adpt_i2o_delete_hba(pHba) if adpt_i2o_online_hba() fails and since we also free it here that causes a double free bug. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>