aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorQuentin Lambert <[email protected]>2016-11-19 18:43:18 +0100
committerMartin K. Petersen <[email protected]>2016-11-22 17:04:32 -0500
commit2d76a2478bb8c54d241b23a699d55f90b7efd036 (patch)
treebf5211c46f225ad49b5a26873f9c3b7c6df9f056 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent75b1cc4ad63afa28c1a045b5157c008f405f06a9 (diff)
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 <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions