patch-1.3.12 linux/drivers/scsi/scsi.c

Next file: linux/drivers/scsi/sg.c
Previous file: linux/drivers/scsi/aic7xxx_asm.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.11/linux/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
@@ -757,7 +757,7 @@
     if(SDpnt != NULL)
 	scsi_init_free((char *) SDpnt, sizeof(Scsi_Device));
     
-    if(SDpnt != NULL)
+    if(SCpnt != NULL)
 	scsi_init_free((char *) SCpnt, sizeof(Scsi_Cmnd));
     
     /* If we allocated a buffer so we could do DMA, free it now */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this