I have a memory leak. When I run valgrind, it tells me that the memory was allocated somewhere deep within my OpenGL libraries, libGL.so.1.0.9746. I am using the nVidia proprietary driver.
Operating under the base assumption that the leak is something that I am doing (or not undoing, as it were) in my code, I am curious, what are commonly used functions that do allocs? My code is rather simple, it reads in YUV frames and converts it to RGB for display… it’s quite similar to the source found in
http://www.fourcc.org/source/YUV420P-OpenGL-GLSLang.c
If anybody has any ideas, plz post.
Thank you much
RS