summaryrefslogtreecommitdiff
path: root/wcfxs.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcfxs.c')
-rwxr-xr-xwcfxs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wcfxs.c b/wcfxs.c
index b3ac363..0d99d03 100755
--- a/wcfxs.c
+++ b/wcfxs.c
@@ -1784,6 +1784,7 @@ static int __devinit wcfxs_init_one(struct pci_dev *pdev, const struct pci_devic
release_region(wc->ioaddr, 0xff);
pci_free_consistent(pdev, ZT_MAX_CHUNKSIZE * 2 * 2 * 2 * 4, (void *)wc->writechunk, wc->writedma);
pci_set_drvdata(pdev, NULL);
+ zt_unregister(&wc->span);
kfree(wc);
return -EIO;