http://bugs.freedesktop.org/show_bug.cgi?id=16718





--- Comment #2 from Guillaume Melquiond <[EMAIL PROTECTED]>  2008-07-15 
08:56:01 PST ---
Sorry for the spam, I'm not even sure it is related. But I was trying to
understand why the glxinfo from git was still working properly, so I looked
through the recent patches to the tools. As a consequence, I noticed some
strange code at line 433:

      if (!visinfo)
         configs = glXChooseFBConfig(dpy, scrnum, fbAttribSingle, &nConfigs);
      if (!visinfo)
         configs = glXChooseFBConfig(dpy, scrnum, fbAttribDouble, &nConfigs);

It seems to me that the first assignment is some dead code. Moreover, since it
is followed by Xfree(configs), I suppose this is also a memory leak.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to