public void free(GL2 gl){
  if (vbos[0] >= 0) {
    gl.glDeleteBuffers(1,vbos,0);
  }
  vbos[0]=-1;
}

public void free ( GL2 gl ) { if ( vbos [ 0 ] >= 0 ) { gl . glDeleteBuffers ( 1 , vbos , 0 ) ; } vbos [ 0 ] = - 1 ; }
free all memory allocations .
