Re: winex11.drv: Copy the GL extensions string because it may be freed.
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?
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. Roderick -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
participants (2)
-
Chris Robinson -
Roderick Colenbrander