[PATCH] xfree86/modes: Fixed memory leak in xf86InitialConfiguration

Keith Packard keith.packard at intel.com
Wed Mar 9 14:23:44 PST 2011


On Tue, 8 Mar 2011 03:11:50 -0800, Erkki Seppälä <erkki.seppala at vincit.fi> wrote:

> 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.

Please clean up the whitespace mistakes in this patch and resubmit.
You aren't seriously editing code on Windows, are you?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110309/fa515efc/attachment.pgp>


More information about the xorg-devel mailing list