Chris Robinson : winex11: Free visual info stored with the context.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Sep 12 07:50:51 CDT 2007


Module: wine
Branch: master
Commit: 57380c2d9aecb22abe43d99cf794c98f1c2644e5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=57380c2d9aecb22abe43d99cf794c98f1c2644e5

Author: Chris Robinson <chris.kcat at gmail.com>
Date:   Tue Sep 11 13:52:23 2007 -0700

winex11: Free visual info stored with the context.

---

 dlls/winex11.drv/opengl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index b30ab37..7f093c6 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -545,6 +545,7 @@ static inline void free_context(Wine_GLContext *context)
     if (context->prev != NULL) context->prev->next = context->next;
     else context_list = context->next;
 
+    if (context->vis) XFree(context->vis);
     HeapFree(GetProcessHeap(), 0, context);
 }
 




More information about the wine-cvs mailing list