diff options
author | Quentin Lambert <lambert.quentin@gmail.com> | 2016-11-25 13:23:51 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-29 17:21:49 +0100 |
commit | aa8c65a4fdc881b32c012c45f985617659aef1a9 (patch) | |
tree | 6ea31f7dbdb2895c905021827b2a8408753d231b /fs/kernfs | |
parent | scsi: hpsa: add 'ctlr_num' sysfs attribute (diff) | |
download | linux-aa8c65a4fdc881b32c012c45f985617659aef1a9.tar.xz linux-aa8c65a4fdc881b32c012c45f985617659aef1a9.zip |
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 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions