Coverity pointed out src/glsl/loop_analysis.cpp loop_analysis::loop_analysis() { this->loops = new loop_state; This loops is never freed anywhere, probably need a destructor. Dave.