winex11: Free visual info stored with the context.

This commit is contained in:
Chris Robinson 2007-09-11 13:52:23 -07:00 committed by Alexandre Julliard
parent 15d591fa08
commit 57380c2d9a
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}