#vulnerable code 
                              @Test
  public void testBit() throws Exception {
    assertArrayEquals(new byte[]{1}, binStart().Bit(1).end().toByteArray());
  } 
                            #location 3 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                              @Test
  public void testBit() throws Exception {
    assertArrayEquals(new byte[]{1}, BeginBin().Bit(1).End().toByteArray());
  }