xserver/hw
Erkki Seppälä db9321b330 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>
(cherry picked from commit d3adf2d935)
2011-03-14 15:34:04 -07:00
..
dmx Fix screen number checks. 2010-12-02 12:17:01 -08:00
kdrive Fix screen number checks. 2010-12-02 12:17:01 -08:00
vfb Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xfree86 xfree86/modes: Fixed memory leak in xf86InitialConfiguration 2011-03-14 15:34:04 -07:00
xnest dix: purge leftover manual key down bit setting. 2010-07-07 13:29:46 +10:00
xquartz XQuartz: pbproxy: Protect against possible collision between Cocoa and X11 Cursor types 2011-03-03 18:16:08 -08:00
xwin Cygwin/X: Fix glxWinCreateDrawable() for API change 2010-08-10 09:29:39 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00