Commit 0001ec9b authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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
parents ac30d8ce f852c596
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6881,6 +6881,7 @@ static void __exit scsi_debug_exit(void)

	sdebug_erase_all_stores(false);
	xa_destroy(per_store_ap);
	kfree(sdebug_q_arr);
}

device_initcall(scsi_debug_init);