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> |
||
---|---|---|
.. | ||
bsd | ||
bus | ||
hurd | ||
linux | ||
misc | ||
sco | ||
shared | ||
solaris | ||
sysv | ||
.gitignore | ||
Makefile.am | ||
int10Defines.h | ||
xf86OSpriv.h | ||
xf86_OSlib.h | ||
xf86_OSproc.h |