patch-2.4.21 linux-2.4.21/drivers/sbus/char/display7seg.c

Next file: linux-2.4.21/drivers/sbus/char/envctrl.c
Previous file: linux-2.4.21/drivers/sbus/char/bbc_i2c.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/sbus/char/display7seg.c linux-2.4.21/drivers/sbus/char/display7seg.c
@@ -198,6 +198,7 @@
 	if (0 != iTmp) {
 		printk("%s: unable to acquire miscdevice minor %i\n",
 		       D7S_DEVNAME, D7S_MINOR);
+		iounmap(d7s_regs);
 		return iTmp;
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)