xserver/hw/xfree86
Erkki Seppälä d3adf2d935 xfree86/modes: Fixed memory leak in xf86InitialConfiguration
There were two memory leaks in the function: one was the lack of free
for "enabled", the other was the full lack of releasing anything when
configuration was too small. The first issue was fixed by adding the
missing free, the other was addressed by replacing the duplicate
memory releasing sequences with one that is gotoed into.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
Signed-off-by: Keith Packard <keithp@keithp.com>
2011-03-14 13:14:04 -07:00
..
common Merge remote-tracking branch 'ajax/xserver-next' 2011-03-14 13:06:41 -07:00
ddc xfree86: Convert some xf86BlockSIGIO to OsBlockSignals 2010-12-20 12:15:14 -05:00
dixmods xfree86/dga: Remove DGAIsDgaEvent() 2011-01-27 14:22:03 +10:00
doc Add xorg.conf.d shadow man page pointing to xorg.conf man page 2011-01-20 21:09:04 -08:00
dri dri1: warning fix 2010-12-31 12:36:44 +00:00
dri2 Replace malloc with calloc to initialize the buffers[] as NULL in do_get_buffers function 2011-02-18 12:16:15 -08:00
exa man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
fbdevhw fbdevhw: Remove the non-sysfs hack for mapping from PCI to fbdev 2011-02-08 12:40:55 -05:00
i2c xfree86: Remove useless module setup functions where appropriate 2010-09-22 10:57:22 -04:00
int10 int10: warning fix 2011-02-08 12:40:49 -05:00
loader loader: Don't distribute sdksyms.c and make it depend on the config 2011-03-03 21:54:25 -08:00
modes xfree86/modes: Fixed memory leak in xf86InitialConfiguration 2011-03-14 13:14:04 -07:00
os-support Consolidate all the PATH_MAX handling into misc.h 2011-03-14 13:42:55 -04:00
parser Consolidate all the PATH_MAX handling into misc.h 2011-03-14 13:42:55 -04:00
ramdac xfree86: update GetMaster check for the VCP. 2011-02-22 14:35:45 +10:00
shadowfb xfree86: Kill pixmapPrivate with a vengeance (v2) 2010-09-28 08:07:21 -07:00
utils man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
vbe vbe: Fix malloc size bug 2011-03-04 16:11:03 -05:00
vgahw xfree86: nds32: add nds32 definition for vgaHW support. 2010-09-23 15:36:19 -07:00
x86emu x86emu: Fix more mis-decoding of the data prefix 2011-01-04 09:23:52 -05:00
xaa dix: Remove usage_hint from pixmaps, store it in ->drawable.class 2011-03-08 13:16:50 -05:00
.gitignore xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00
Makefile.am xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00