patch-2.4.21 linux-2.4.21/drivers/char/rio/rioboot.c
Next file: linux-2.4.21/drivers/char/rocket_int.h
Previous file: linux-2.4.21/drivers/char/raw.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
2003-06-13 07:51:33.000000000 -0700
- Orig file:
linux-2.4.20/drivers/char/rio/rioboot.c
- Orig date:
2001-07-04 14:41:33.000000000 -0700
diff -urN linux-2.4.20/drivers/char/rio/rioboot.c linux-2.4.21/drivers/char/rio/rioboot.c
@@ -328,6 +328,7 @@
if ( copyin((int)rbp->DataP,DownCode,rbp->Count)==COPYFAIL ) {
rio_dprintk (RIO_DEBUG_BOOT, "Bad copyin of host data\n");
+ sysfree( DownCode, rbp->Count );
p->RIOError.Error = COPYIN_FAILED;
func_exit ();
return EFAULT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)