summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorQuentin Lambert <lambert.quentin@gmail.com>2016-11-25 13:23:51 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-11-29 11:21:49 -0500
commitaa8c65a4fdc881b32c012c45f985617659aef1a9 (patch)
tree6ea31f7dbdb2895c905021827b2a8408753d231b /block
parent16961204a0ebcb87b89ed3be14b0a484c754d7e4 (diff)
downloadlinux-aa8c65a4fdc881b32c012c45f985617659aef1a9.tar.bz2
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 <lambert.quentin@gmail.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions