cvs commit: src/sys/dev/video/fb vga.c
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Jul 9 15:40:40 PDT 2005
swildner 2005/07/09 15:39:58 PDT
DragonFly src repository
Modified files:
sys/dev/video/fb vga.c
Log:
* Remove unneeded <sys/proc.h>
* Correct a potential panic condition that could be caused when getting or
setting the VGA palette.
* Add a free() to fix a rare memory leak (if vga_save_palette2() was not
successful).
* Check copyin() return values.
* Minor style cleanup.
Obtained from: FreeBSD
Revision Changes Path
1.13 +22 -19 src/sys/dev/video/fb/vga.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/video/fb/vga.c.diff?r1=1.12&r2=1.13&f=u
More information about the Commits
mailing list