Index: bench/GLInstancedArraysBench.cpp |
diff --git a/bench/GLInstancedArraysBench.cpp b/bench/GLInstancedArraysBench.cpp |
index d171d8fde6f7fc0e3475928ddd2a85abfff390eb..8ffbaf03fe785f21daee01b622f110fa46f83f49 100644 |
--- a/bench/GLInstancedArraysBench.cpp |
+++ b/bench/GLInstancedArraysBench.cpp |
@@ -377,6 +377,7 @@ void GLCpuPosInstancedArraysBench::teardown(const GrGLInterface* gl) { |
GR_GL_CALL(gl, DeleteProgram(fProgram)); |
GR_GL_CALL(gl, DeleteBuffers(fBuffers.count(), fBuffers.begin())); |
GR_GL_CALL(gl, DeleteVertexArrays(1, &fVAO)); |
+ fBuffers.reset(); |
} |
/////////////////////////////////////////////////////////////////////////////// |