Quentin Lambert 2d76a2478b scsi: pmcraid: Add missing resource releases
Most error branches following the call to pmcraid_get_free_cmd contain a
call to pmcraid_return_cmd. This patch add these calls where they are
missing.

Moreover, most error branches following the call to class_create contain
a call to class_destroy. This patch add these calls where they are
missing.

This issue was found with Hector.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-11-22 17:04:32 -05:00
..
2016-11-01 16:56:05 -06:00
2016-10-06 17:13:54 -07:00
2016-10-21 21:40:29 +02:00
2016-09-27 12:33:47 +02:00
2016-11-05 11:15:09 -07:00
2016-10-07 21:23:40 -07:00
2016-10-07 08:35:35 -07:00
2016-10-29 11:19:02 -07:00
2016-11-05 10:52:29 -07:00
2016-10-07 21:23:40 -07:00
2016-11-05 11:11:31 -07:00
2016-10-19 11:45:06 -07:00
2016-10-06 17:03:49 -07:00
2016-10-14 13:13:44 -07:00
2016-11-17 20:15:26 -05:00
2016-10-14 11:07:42 -07:00
2016-11-05 11:15:09 -07:00
2016-10-19 08:39:47 -07:00
2016-10-24 19:52:24 -07:00