Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 1997 20:11:25 -0700 (PDT)
From:      mdean <mdean@best.com>
To:        freebsd-hackers@freebsd.org
Subject:   free() in device drivers
Message-ID:  <Pine.SGI.3.95.971009200955.27126A-100000@shellx.best.com>

next in thread | raw e-mail | index | archive | help

If I do a malloc (p, M_DEVBUF, M_NOWAIT);

then find a problem in my attach routine, can I do a free(p, M_DEVBUF) to
recover that memory?







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.95.971009200955.27126A-100000>