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