Re: Huge memory leak with texture_from_pixmap
I think I see what is happening (and potentially wrong or misunderstood) with your app. If I have a compositor running, the app hangs immediately. If I do not have a compositor running, then this new version runs ok, however I'm not seeing any memory leakage. I see the free memory drop by about 20MB when the app is running, and then get freed after it stops.
I'm still not sure that I understand the conditions under which this needs to be run to reproduce the problem you're reporting. Can you detail your setup?