From 328d3107e17379e8a742cad144c53c581da0d4f6 Mon Sep 17 00:00:00 2001 From: Saulius Krasuckas Date: Mon, 22 Aug 2005 18:58:27 +0000 Subject: [PATCH] Don't leak a list of visuals (with advice of Jacek Caban). --- dlls/ddraw/device_opengl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ddraw/device_opengl.c b/dlls/ddraw/device_opengl.c index 20fc13553b0..49bf1b06f59 100644 --- a/dlls/ddraw/device_opengl.c +++ b/dlls/ddraw/device_opengl.c @@ -4342,6 +4342,7 @@ d3ddevice_init_at_startup(void *gl_handle) return FALSE; } gl_context = glXCreateContext(display, vis, NULL, GL_TRUE); + XFree(vis); if (gl_context == NULL) { LEAVE_GL(); -- 2.11.4.GIT