xserver-multidpi/hw
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
..
dmx Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
kdrive Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vfb Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xfree86 Solaris: avoid memory leak if AGPIOC_INFO ioctl fails 2010-06-10 19:02:05 -07:00
xnest Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xquartz Merge remote branch 'jeremyhu/master' 2010-06-10 13:36:35 -07:00
xwin Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00