summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r--sys/scsi/scsiconf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 3bc11fe542c..19ab86b3198 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.112 2006/09/21 08:42:11 dlg Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.113 2006/09/22 00:33:41 dlg Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -190,6 +190,9 @@ scsibusdetach(struct device *dev, int type)
free(sb->sc_link, M_DEVBUF);
+ /* Free shared data. */
+ scsi_deinit();
+
return (0);
}