xserver-multidpi/hw
Alan Coopersmith 4bbc90cd8b xf86AutoConfig: make copyScreen memory allocation & error handling more sane
No point calling the no-fail-alloc if you check for failure and your
only caller checks for failure.

No point calling calloc to zero fill memory you're about to memcpy over.

In the unlikely event of a loss of memory allocation, drop your previous
allocations before returning to others.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2010-11-30 16:25:22 -08:00
..
dmx dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
kdrive dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
vfb dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
xfree86 xf86AutoConfig: make copyScreen memory allocation & error handling more sane 2010-11-30 16:25:22 -08:00
xnest dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
xquartz dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
xwin dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00