xserver-multidpi/hw/xfree86/modes
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
..
Makefile.am displayid: Implement mode decoding. 2009-07-17 14:48:55 -04:00
xf86Crtc.c xfree86/modes: Fixed memory leak in xf86InitialConfiguration 2011-03-14 13:14:04 -07:00
xf86Crtc.h Revert "Replace huge argument list in xf86CrtcSetModeTransform with struct" 2011-02-23 11:18:35 -08:00
xf86Cursors.c Revert "randr: Add sprite position transforms" 2011-02-23 11:18:12 -08:00
xf86cvt.c Convert cvt code to use XNFasprintf() 2010-12-07 11:10:36 -08:00
xf86DiDGA.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
xf86DisplayIDModes.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86EdidModes.c edid: Fix incorrect timings for VIC61 2011-01-04 14:08:16 -05:00
xf86gtf.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Modes.c xfree86/modes: Take rotation into account when checking mode size 2010-12-27 20:03:52 +02:00
xf86Modes.h modes: Fix duplicate detection, and do it more consistently 2009-10-29 14:06:00 -04:00
xf86RandR12.c Merge remote branch 'whot/for-keith' 2011-03-03 14:41:44 -08:00
xf86RandR12.h Clean up RandR12 bits on screen close (bug 27114) 2010-06-15 14:39:25 -07:00
xf86Rename.h Allow drivers to set crtc transforms. 2008-11-24 13:24:40 -08:00
xf86Rotate.c Revert "randr: Add sprite position transforms" 2011-02-23 11:18:12 -08:00