Hello,
I must correct my bug report: memory leaks after calling glXChooseVisual are caused by a missing XFree. Calling XFree after glXChooseVisual fix this problem. But glClear still causes memory leaks.
Best regards,
Christian Kuhn