xserver-multidpi/hw/xfree86
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
..
common Merge remote branch 'whot/for-keith' 2010-06-10 18:39:10 -07:00
ddc Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
dixmods Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
doc xfree86: Match devices based on current driver setting 2010-06-11 09:44:40 +10:00
dri Make DRI_SCREEN_PRIV just return NULL when DRI isn't initialized 2010-06-07 21:49:43 -07:00
dri2 dri2: Only deal with output windows and pixmaps. 2010-06-10 07:20:03 -07:00
exa Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
fbdevhw Install fbdevhw module in normal module directory instead of linux/ 2010-06-03 07:29:50 -07:00
i2c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
int10 Record some additional library dependencies in xf86 modules 2010-06-10 19:01:22 -07:00
loader Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
modes Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
os-support Solaris: avoid memory leak if AGPIOC_INFO ioctl fails 2010-06-10 19:02:05 -07:00
parser Merge remote branch 'whot/for-keith' 2010-06-10 18:39:10 -07:00
ramdac Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
shadowfb Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
utils Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vbe Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vgahw Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
x86emu Convert x86emu fixed size int typedefs to use stdint types 2010-04-07 16:18:24 -07:00
xaa Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xf8_16bpp Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Fix relink targets for silent rules 2010-03-22 00:45:52 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00