[PATCH 2/2] glxproxy: Fix memory leak on error path in CreateGLXPixmap (#50281)

Adam Jackson ajax at redhat.com
Wed Apr 30 10:46:35 PDT 2014


On Mon, 2014-04-21 at 22:13 -0700, Keith Packard wrote:

> I think you missed a return path about 8 lines before this:
> 
>         else {
>             client->errorValue = (visual ? visual : fbconfigId);
>             free(pGlxPixmap);
>             return BadValue;
>         }
> 
>         XFlush(dpy);
>     }

Indeed, new patches in a moment.

- ajax



More information about the xorg-devel mailing list