[Asterisk-cvs] zaptel wcfxs.c,1.48,1.49

markster at lists.digium.com markster at lists.digium.com
Wed Apr 21 16:52:08 CDT 2004


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv19080

Modified Files:
	wcfxs.c 
Log Message:
Unregister span if the driver doesn't finish loading


Index: wcfxs.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wcfxs.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- wcfxs.c	20 Apr 2004 23:43:18 -0000	1.48
+++ wcfxs.c	21 Apr 2004 20:56:47 -0000	1.49
@@ -1784,6 +1784,7 @@
 					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;
 




More information about the svn-commits mailing list