diff --git a/src/backend/gl/gl_common.c b/src/backend/gl/gl_common.c index fceb39f..a469ab7 100644 --- a/src/backend/gl/gl_common.c +++ b/src/backend/gl/gl_common.c @@ -719,6 +719,8 @@ static void _gl_fill(backend_t *base, struct color c, const region_t *clip, GLui glDeleteVertexArrays(1, &vao); glDeleteBuffers(2, bo); + free(indices); + free(coord); } void gl_fill(backend_t *base, struct color c, const region_t *clip) {