Index: gpu/command_buffer/client/gles2_implementation.cc |
=================================================================== |
--- gpu/command_buffer/client/gles2_implementation.cc (revision 35801) |
+++ gpu/command_buffer/client/gles2_implementation.cc (working copy) |
@@ -40,6 +40,10 @@ |
result_shm_offset_ = transfer_buffer_.GetOffset(result_buffer_); |
} |
+GLES2Implementation::~GLES2Implementation() { |
+ transfer_buffer_.Free(result_buffer_); |
+} |
+ |
void GLES2Implementation::MakeIds(GLsizei n, GLuint* ids) { |
for (GLsizei ii = 0; ii < n; ++ii) { |
ids[ii] = id_allocator_.AllocateID(); |