diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-03-10 07:22:42 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-03-10 07:22:42 +0000 |
| commit | 369bbb548d98fcdd04e87783cf184faa07184896 (patch) | |
| tree | c8b79a330c37283e59477f94c31f5ff932786629 | |
| parent | 6a6230d2f647ec398984f89922ccb85a7b459521 (diff) | |
Notes
| -rw-r--r-- | sys/pc98/cbus/sio.c | 4 | ||||
| -rw-r--r-- | sys/pc98/pc98/sio.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index 4a455e3dc599..b49506d12a41 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -799,6 +799,10 @@ siodetach(dev) } else { if (com->ibuf != NULL) free(com->ibuf, M_DEVBUF); +#ifdef PC98 + if (com->obuf1 != NULL) + free(com->obuf1, M_DEVBUF); +#endif device_set_softc(dev, NULL); free(com, M_DEVBUF); } diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c index 4a455e3dc599..b49506d12a41 100644 --- a/sys/pc98/pc98/sio.c +++ b/sys/pc98/pc98/sio.c @@ -799,6 +799,10 @@ siodetach(dev) } else { if (com->ibuf != NULL) free(com->ibuf, M_DEVBUF); +#ifdef PC98 + if (com->obuf1 != NULL) + free(com->obuf1, M_DEVBUF); +#endif device_set_softc(dev, NULL); free(com, M_DEVBUF); } |
