Opengl + Qt

I am developing an application with the extension of Qt that allow to deal with OpenGl (QGL).
But the process X (the X server) increases the amount of used memory, and does not frees it; does not matter the application exits.
I use the class QGLContext, and I think I am getting some resource that I do not free later.
Can someone helpme with documentation, program examples, etc.?

TIA.

Hi !

Check your own code to see if you allocate memory and does not free it, the Qt code only allocates a rendering context and not much more.

Mikael