aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorQuentin Lambert <[email protected]>2016-11-25 13:23:51 +0100
committerMartin K. Petersen <[email protected]>2016-11-29 11:21:49 -0500
commitaa8c65a4fdc881b32c012c45f985617659aef1a9 (patch)
tree6ea31f7dbdb2895c905021827b2a8408753d231b /scripts/gcc-plugins/cyc_complexity_plugin.c
parent16961204a0ebcb87b89ed3be14b0a484c754d7e4 (diff)
scsi: aic94xx: Add a missing call to kfree
Most error branches following the call to kzalloc contain a call to kfree. This patch add these calls where they are missing and set the relevant pointers to NULL. 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