Skip to content

Commit 0001ec9

Browse files
committed
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fix from James Bottomley: "One fix for scsi_debug that fixes a memory leak on module removal" * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: scsi: scsi_debug: Fix a memory leak
2 parents ac30d8c + f852c59 commit 0001ec9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/scsi_debug.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6881,6 +6881,7 @@ static void __exit scsi_debug_exit(void)
68816881

68826882
sdebug_erase_all_stores(false);
68836883
xa_destroy(per_store_ap);
6884+
kfree(sdebug_q_arr);
68846885
}
68856886

68866887
device_initcall(scsi_debug_init);

0 commit comments

Comments
 (0)