mirror of
https://github.com/reactos/wine.git
synced 2024-12-01 15:40:43 +00:00
Don't leak a list of visuals (with advice of Jacek Caban).
This commit is contained in:
parent
e9438a87f6
commit
328d3107e1
@ -4342,6 +4342,7 @@ d3ddevice_init_at_startup(void *gl_handle)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
gl_context = glXCreateContext(display, vis, NULL, GL_TRUE);
|
gl_context = glXCreateContext(display, vis, NULL, GL_TRUE);
|
||||||
|
XFree(vis);
|
||||||
|
|
||||||
if (gl_context == NULL) {
|
if (gl_context == NULL) {
|
||||||
LEAVE_GL();
|
LEAVE_GL();
|
||||||
|
Loading…
Reference in New Issue
Block a user