diff --git a/c++/contourgl/test.cpp b/c++/contourgl/test.cpp index 7768de0..5736425 100644 --- a/c++/contourgl/test.cpp +++ b/c++/contourgl/test.cpp @@ -326,6 +326,7 @@ void Test::test2() { Helper::draw_contour(count, true, true); } + glDeleteBuffers(1, &buf_id); glPopAttrib(); }