commit | aa8c65a4fdc881b32c012c45f985617659aef1a9 | [log] [tgz] |
---|---|---|
author | Quentin Lambert <lambert.quentin@gmail.com> | Fri Nov 25 13:23:51 2016 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Nov 29 11:21:49 2016 -0500 |
tree | 6ea31f7dbdb2895c905021827b2a8408753d231b | |
parent | 16961204a0ebcb87b89ed3be14b0a484c754d7e4 [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 <lambert.quentin@gmail.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>