While looking over a commit to compinit.c I think I spotted a minor typo. I don't currently have the source on disk so I'll submit a description of the problem rather than an actual patch. Identification of CVS commit: ----------------------------- Index: compinit.c =================================================================== RCS file: /cvs/xserver/xserver/composite/compinit.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- a/compinit.c 13 May 2004 21:25:51 -0000 1.12 +++ b/compinit.c 21 May 2004 03:32:27 -0000 1.13 @@ -89,63 +89,99 @@ Section of the commit with a typo: ---------------------------------- + /* + * Allocate vid list for this depth + */ + vids[numAlternate] = xalloc (sizeof (VisualID)); + if (!vids) + continue; + depths[numAlternate] = depth; Correction of typo: ------------------- + /* + * Allocate vid list for this depth + */ + vids[numAlternate] = xalloc (sizeof (VisualID)); - if (!vids) + if (!vids[numAlternate]) + continue; + depths[numAlternate] = depth;
Appears to be fixed in CVS (X.Org and xserver).
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.