Huge memory leak with texture_from_pixmap
I'm trying to write a composition manager using texture_from_pixmap. However, I'm getting huge memory leaks from my code.
In order to try to find the problem I wrote this simple test program that doesn't do a lot but has the same behavior. Am I doing something wrong? compiz works ...
(I have a laptop with a Radeon 9700 Mobile and there it doesn't leak.)
Fedora Core 6:[martin@lisa ~]$ uname -a
Linux lisa.datan.blom.org 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:39:22 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
[martin@lisa ~]$ glxinfo |grep string
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7800 GS/AGP/SSE2
OpenGL version string: 2.1.0 NVIDIA 96.40