In the function void vision_algorithm::download_image (image_t& image, GLuint handle);, a frame buffer is generated, used and subsequently leaked.
This framebuffer should only be generated once, probably at creation of vision_algorithm, and cleaned up at the destruction of vision_algorithm.
Do note that, as the framebuffer handles are 32 bit unsigned integers, so this issue could probably take multiple years of runtime to manifest in undefined behaviour.
In the function
void vision_algorithm::download_image (image_t& image, GLuint handle);
, a frame buffer is generated, used and subsequently leaked. This framebuffer should only be generated once, probably at creation ofvision_algorithm
, and cleaned up at the destruction ofvision_algorithm
.Do note that, as the framebuffer handles are 32 bit unsigned integers, so this issue could probably take multiple years of runtime to manifest in undefined behaviour.