Subject: CVS commit: syssrc/sys/dev/pci
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 08/11/2002 15:40:48
Module Name:	syssrc
Committed By:	drochner
Date:		Sun Aug 11 12:40:48 UTC 2002

Modified Files:
	syssrc/sys/dev/pci: agp.c

Log Message:
-avoid lock leak in error case
-Free AGP memory on close, to avoid a memory leak in case
 the X server doesn't free it explicitely.
 (It appears that the X server never calls AGPIOC_DEALLOCATE.)
 Fixes PR kern/17869 by Emmanuel Dreyfus.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 syssrc/sys/dev/pci/agp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.