patch-2.4.0-test8 linux/drivers/scsi/st.c
Next file: linux/drivers/scsi/tmscsim.h
Previous file: linux/drivers/scsi/sr_ioctl.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Sep 6 12:53:14 2000
- Orig file:
v2.4.0-test7/linux/drivers/scsi/st.c
- Orig date:
Wed Aug 23 18:36:38 2000
diff -u --recursive --new-file v2.4.0-test7/linux/drivers/scsi/st.c linux/drivers/scsi/st.c
@@ -3486,6 +3486,8 @@
if (tmp_da == NULL || tmp_ba == NULL) {
if (tmp_da != NULL)
kfree(tmp_da);
+ if (tmp_ba != NULL)
+ kfree(tmp_ba);
SDp->attached--;
write_unlock_irqrestore(&st_dev_arr_lock, flags);
printk(KERN_ERR "st: Can't extend device array.\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)