Unverified Commit 5b56c883 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!15508 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()

parents 1a69ca23 2d827a77
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -158,6 +158,8 @@ static void zorro7xx_remove_one(struct zorro_dev *z)
	scsi_remove_host(host);

	NCR_700_release(host);
	if (host->base > 0x01000000)
		iounmap(hostdata->base);
	kfree(hostdata);
	free_irq(host->irq, host);
	zorro_release_device(z);