diff options
| author | Scott Long <scottl@FreeBSD.org> | 2007-06-04 04:35:04 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2007-06-04 04:35:04 +0000 |
| commit | a54876ea206dabd99a225f9c43ba1be33c8e03be (patch) | |
| tree | b29ea5ce5688d5d93dc230b421f96964d967f5d7 /sys/dev/mpt | |
| parent | 16f89cb42015b3e365596957d4405a51423a9118 (diff) | |
Notes
Diffstat (limited to 'sys/dev/mpt')
| -rw-r--r-- | sys/dev/mpt/mpt_cam.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/mpt/mpt_cam.c b/sys/dev/mpt/mpt_cam.c index 4c7ddf3bacaa..f1e6eef4fd99 100644 --- a/sys/dev/mpt/mpt_cam.c +++ b/sys/dev/mpt/mpt_cam.c @@ -1199,6 +1199,10 @@ mpt_cam_detach(struct mpt_softc *mpt) mpt_free_request(mpt, mpt->tmf_req); mpt->tmf_req = NULL; } + if (mpt->sas_portinfo != NULL) { + free(mpt->sas_portinfo, M_DEVBUF); + mpt->sas_portinfo = NULL; + } MPT_UNLOCK(mpt); if (mpt->sim != NULL) { |
