Release the indices buffer.