scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded
authorEwan D. Milne <emilne@redhat.com>
Wed, 26 Oct 2016 15:22:53 +0000 (11:22 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 27 Oct 2016 02:14:50 +0000 (22:14 -0400)
commit4d2b496f19f3c2cfaca1e8fa0710688b5ff3811d
tree732fdb9b77cc3746a60e0fa5eee80b423f88dc38
parent1e793f6fc0db920400574211c48f9157a37e3945
scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded

map_storep was not being vfree()'d in the module_exit call.

Cc: <stable@vger.kernel.org>
Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c