xserver-multidpi/hw/xfree86
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
..
common xf86AutoConfig: make copyScreen memory allocation & error handling more sane 2010-11-30 16:25:22 -08:00
ddc ddc: Don't probe for DDC/CI or EEPROM 2010-10-18 15:42:54 -04:00
dixmods xserver: delete pervasively use of DISPATCH_PROC 2010-09-28 16:45:05 +03:00
doc xfree86: Remove the xf8_16bpp overlay module 2010-11-30 14:26:58 -05:00
dri xserver: delete pervasively use of DISPATCH_PROC 2010-09-28 16:45:05 +03:00
dri2 DRI2: Avoid call to NULL pointer 2010-11-10 14:38:09 -08:00
exa Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
fbdevhw xfree86: Remove useless module setup functions where appropriate 2010-09-22 10:57:22 -04:00
i2c xfree86: Remove useless module setup functions where appropriate 2010-09-22 10:57:22 -04:00
int10 Merge remote branch 'ajax/less-loader' 2010-09-28 08:15:07 -07:00
loader xfree86: Remove the xf8_16bpp overlay module 2010-11-30 14:26:58 -05:00
modes xf86OutputRename: Replace another strlen/malloc/strcpy set with strdup 2010-11-30 16:18:35 -08:00
os-support Fix compiler warnings in hw/xfree86/os-support/solaris 2010-11-30 16:18:15 -08:00
parser xfree86: parser: Remove 'CUSTOM' flag option in Monitor section. 2010-11-10 21:35:58 -08:00
ramdac Add API to update setting of waitForUpdate screen private in miPointer 2010-07-02 14:27:49 +10:00
shadowfb xfree86: Kill pixmapPrivate with a vengeance (v2) 2010-09-28 08:07:21 -07:00
utils Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vbe vbe: Refuse to believe tiny (or negative) panel sizes from PanelID 2010-11-30 13:50:42 -05:00
vgahw xfree86: nds32: add nds32 definition for vgaHW support. 2010-09-23 15:36:19 -07:00
x86emu x86emu: fix jump_near_IMM to handle DATA: flag correctly. 2010-11-10 14:56:57 -08:00
xaa dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am xfree86: Remove the xf8_16bpp overlay module 2010-11-30 14:26:58 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00