xserver/hw/xfree86/os-support/solaris
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
..
Makefile.am
apSolaris.shar
solaris-amd64.S
solaris-ia32.S
solaris-sparcv8plus.S
sun_VTsw.c
sun_agp.c
sun_apm.c
sun_bell.c
sun_init.c
sun_inout.s
sun_vid.c