winex11: Free visual info stored with the context.
This commit is contained in:
parent
15d591fa08
commit
57380c2d9a
|
@ -545,6 +545,7 @@ static inline void free_context(Wine_GLContext *context)
|
||||||
if (context->prev != NULL) context->prev->next = context->next;
|
if (context->prev != NULL) context->prev->next = context->next;
|
||||||
else context_list = context->next;
|
else context_list = context->next;
|
||||||
|
|
||||||
|
if (context->vis) XFree(context->vis);
|
||||||
HeapFree(GetProcessHeap(), 0, context);
|
HeapFree(GetProcessHeap(), 0, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue