Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci free memory allocated for suspend save area in d...



details:   https://anonhg.NetBSD.org/src/rev/50350443f0f7
branches:  trunk
changeset: 521081:50350443f0f7
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jan 23 11:27:59 2002 +0000

description:
free memory allocated for suspend save area in detach

diffstat:

 sys/dev/pci/esa.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r b10e0658c332 -r 50350443f0f7 sys/dev/pci/esa.c
--- a/sys/dev/pci/esa.c Wed Jan 23 11:03:19 2002 +0000
+++ b/sys/dev/pci/esa.c Wed Jan 23 11:27:59 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: esa.c,v 1.7 2002/01/14 19:24:39 pooka Exp $ */
+/* $NetBSD: esa.c,v 1.8 2002/01/23 11:27:59 pooka Exp $ */
 
 /*
  * Copyright (c) 2001, 2002 Jared D. McNeill <jmcneill%invisible.yi.org@localhost>
@@ -1019,6 +1019,8 @@
        if (sc->sc_ios)
                bus_space_unmap(sc->sc_iot, sc->sc_ioh, sc->sc_ios);
 
+       free(sc->savemem, M_DEVBUF);
+
        return (0);
 }
 



Home | Main Index | Thread Index | Old Index