diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1999-08-10 21:12:11 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1999-08-10 21:12:11 +0000 |
| commit | ee67e42e43140689c8e94b129a35df383a7515cd (patch) | |
| tree | 008af17f2603ac8249d8d78808b354c5f1691455 | |
| parent | 8674aa45c7af5ae72713a42844f8b7463d6dfc59 (diff) | |
Notes
| -rw-r--r-- | sys/dev/vr/if_vr.c | 5 | ||||
| -rw-r--r-- | sys/pci/if_vr.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c index 6e78de4b6221..2f91c23b2505 100644 --- a/sys/dev/vr/if_vr.c +++ b/sys/dev/vr/if_vr.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_vr.c,v 1.13 1999/07/06 19:23:31 des Exp $ + * $Id: if_vr.c,v 1.14 1999/08/10 17:15:10 wpaul Exp $ */ /* @@ -100,7 +100,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_vr.c,v 1.13 1999/07/06 19:23:31 des Exp $"; + "$Id: if_vr.c,v 1.14 1999/08/10 17:15:10 wpaul Exp $"; #endif /* @@ -1132,6 +1132,7 @@ static int vr_attach(dev) bus_teardown_intr(dev, sc->vr_irq, sc->vr_intrhand); bus_release_resource(dev, SYS_RES_IRQ, 0, sc->vr_irq); bus_release_resource(dev, VR_RES, VR_RID, sc->vr_res); + free(sc->vr_ldata_ptr, M_DEVBUF); error = ENXIO; goto fail; } diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c index 6e78de4b6221..2f91c23b2505 100644 --- a/sys/pci/if_vr.c +++ b/sys/pci/if_vr.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_vr.c,v 1.13 1999/07/06 19:23:31 des Exp $ + * $Id: if_vr.c,v 1.14 1999/08/10 17:15:10 wpaul Exp $ */ /* @@ -100,7 +100,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_vr.c,v 1.13 1999/07/06 19:23:31 des Exp $"; + "$Id: if_vr.c,v 1.14 1999/08/10 17:15:10 wpaul Exp $"; #endif /* @@ -1132,6 +1132,7 @@ static int vr_attach(dev) bus_teardown_intr(dev, sc->vr_irq, sc->vr_intrhand); bus_release_resource(dev, SYS_RES_IRQ, 0, sc->vr_irq); bus_release_resource(dev, VR_RES, VR_RID, sc->vr_res); + free(sc->vr_ldata_ptr, M_DEVBUF); error = ENXIO; goto fail; } |
