winex11.drv: Copy the GL extensions string because it may be freed.

Roderick Colenbrander thunderbird2k at
Thu Jan 25 02:16:24 CST 2007

> On Wednesday 24 January 2007 21:51, Ken Thomases wrote:

> > +    WineGLInfo.glExtensions = strdup((const char *) 

> pglGetString(GL_EXTENSIONS));


> Shouldn't this be free'd somewhere? What about the other strings?


The problem with this string is that it depends on the presence of a GLX context which isn't the case for the other strings. This caused problems on OSX where the data got freed after releasing a context.



Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN:

More information about the wine-devel mailing list