xserver/hw/xfree86/os-support
Alan Coopersmith 8ff9b502cf Solaris: avoid memory leak if AGPIOC_INFO ioctl fails
Move malloc after ioctl, so we don't have to worry about free'ing the
memory if the ioctl fails.

[ This bug was found by the Parfait bug checking tool.
  For more information see http://research.sun.com/projects/parfait ]

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2010-06-10 19:02:05 -07:00
..
bsd Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
bus xfree86: bus: remove unused headers 2010-05-24 19:10:51 +03:00
hurd xfree86: Hurd fix 2009-09-28 00:58:23 +02:00
linux Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
misc Fix breakage on alpha caused by c7680befe5 2009-10-06 20:58:30 -04:00
sco Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
shared Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
solaris Solaris: avoid memory leak if AGPIOC_INFO ioctl fails 2010-06-10 19:02:05 -07:00
sysv Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Remove some unused assembly code and assyntax.h 2008-08-18 16:46:36 -04:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86OSpriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86_OSlib.h Add new VT support for OpenSolaris & future Solaris releases 2009-08-13 21:56:06 -07:00
xf86_OSproc.h Move OS-specific VT key handler code from common to os-support 2010-01-25 11:10:00 -08:00