xserver-multidpi/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
..
apSolaris.shar Updated Solaris aperture driver to build on sun4v & amd64 kernels 2006-06-29 16:25:36 -07:00
Makefile.am Add new VT support for OpenSolaris & future Solaris releases 2009-08-13 21:56:06 -07:00
solaris-amd64.S Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
solaris-ia32.S Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
solaris-sparcv8plus.S Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
sun_agp.c Solaris: avoid memory leak if AGPIOC_INFO ioctl fails 2010-06-10 19:02:05 -07:00
sun_apm.c Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
sun_bell.c Replace deprecated bzero with memset 2010-06-06 15:07:27 +07:00
sun_init.c Solaris: Use VT_SET_CONSUSER ioctl to set Console User rights profile 2010-05-21 09:45:42 -07:00
sun_inout.s DRI XFree86-4_3_99_12-merge import 2004-06-16 09:22:17 +00:00
sun_vid.c Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
sun_VTsw.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00