]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen-scsifront: Add a missing call to kfree
authorQuentin Lambert <lambert.quentin@gmail.com>
Sat, 19 Nov 2016 18:22:56 +0000 (19:22 +0100)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 3 Feb 2017 20:55:29 +0000 (15:55 -0500)
commit0b0cd699bf95b8eec74f5161a784499c25c0b588
treee430156e9cdeb06da0fc3856a6213a852a4b31bf
parentac7bd1728ac4c74d4437797800b438fd4b8fafa8
xen-scsifront: Add a missing call to kfree

Most error branches following the call to kmalloc contain
a call to kfree. This patch add these calls where they are
missing.

This issue was found with Hector.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
OraBug: 25497392

(cherry picked from commit 1eb08545c0a3a2249ad53e393383cc06163d0d16)
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/scsi/xen-scsifront.c