#vulnerable code 
                                @Test
    public void testCapacity() {
        assertEquals(SIZE, bytes.capacity());
        assertEquals(10, NativeBytesStore.nativeStoreWithFixedCapacity(10).capacity());
    } 
                            #location 4 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Test
    public void testCapacity() {
        assertEquals(SIZE, bytes.capacity());
        assertEquals(10, Bytes.allocateDirect(10).capacity());
    }